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

Function closure_2_inferred_name

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

Source from the content-addressed store, hash-verified

751BeginTest("Closure with Inferred Name 2");
752
753function closure_2_inferred_name(a) {
754 let foo = {};
755 function FooBar(b) {
756 foo.baz = function() {
757 debugger;
758 return a+b;
759 }
760 return foo.baz;
761 };
762 return FooBar;
763}
764
765listener_delegate = function(exec_state) {
766 CheckScopeChain([debug.ScopeType.Local,

Callers 1

debug-scopes.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected