MCPcopy Create free account
hub / github.com/nodejs/node / the_full_monty

Function the_full_monty

deps/v8/test/debugger/debug/debug-scopes.js:839–863  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

837// Test a mixture of scopes.
838BeginTest("The full monty");
839function the_full_monty(a, b) {
840 var x = 3;
841 var y = 4;
842 eval('var i = 5');
843 eval('var j = 6');
844 function f(a, b) {
845 var x = 9;
846 var y = 10;
847 eval('var i = 11');
848 eval('var j = 12');
849 with ({j:13}){
850 return function() {
851 var x = 14;
852 with ({a:15}) {
853 with ({b:16}) {
854 debugger;
855 some_global = a;
856 return f;
857 }
858 }
859 };
860 }
861 }
862 return f(a, b);
863}
864
865listener_delegate = function(exec_state) {
866 CheckScopeChain([debug.ScopeType.With,

Callers 1

debug-scopes.jsFile · 0.85

Calls 2

fFunction · 0.70
evalFunction · 0.50

Tested by

no test coverage detected