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

Function gen4

deps/v8/test/debugger/debug/debug-scopes-suspended-generators.js:148–154  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

146// Closure scope with a parameter.
147
148function *gen4(a, b) {
149 var x = 2;
150 yield a;
151 var y = 3;
152 yield a;
153 return b;
154}
155
156g = gen4(0, 1);
157CheckScopeChain([debug.ScopeType.Local,

Calls

no outgoing calls

Tested by

no test coverage detected