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

Function closure_7

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

Source from the content-addressed store, hash-verified

647// compiler cannot determine which parts are used.
648BeginTest("Closure 7");
649function closure_7(a, b) {
650 var x = 3;
651 var y = 4;
652 eval('var i = 5');
653 eval('var j = 6');
654 function f(a, b) {
655 var x = 3;
656 var y = 4;
657 eval('var i = 5');
658 eval('var j = 6');
659 return function() {
660 debugger;
661 some_global = a;
662 return f;
663 };
664 }
665 return f(a, b);
666}
667
668listener_delegate = function(exec_state) {
669 CheckScopeChain([debug.ScopeType.Local,

Callers 1

debug-scopes.jsFile · 0.70

Calls 2

fFunction · 0.70
evalFunction · 0.50

Tested by

no test coverage detected