MCPcopy Index your code
hub / github.com/nodejs/node / closure_10

Function closure_10

deps/v8/test/debugger/debug/debug-scopes.js:810–817  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

808
809BeginTest("Closure passed to optimized Array.prototype.forEach");
810function closure_10(a) {
811 var x = a + 2;
812 function closure_11(b) {
813 debugger;
814 return a + b + x;
815 }
816 [42].forEach(closure_11);
817}
818
819listener_delegate = function(exec_state) {
820 CheckScopeChain([debug.ScopeType.Local,

Callers 1

debug-scopes.jsFile · 0.85

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected