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

Function gen2

deps/v8/test/debugger/debug/debug-scopes-suspended-generators.js:118–121  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

116// Closure scope with a parameter.
117
118function *gen2(a) {
119 yield a;
120 return 2;
121}
122
123g = gen2(42);
124CheckScopeChain([debug.ScopeType.Local,

Calls

no outgoing calls

Tested by

no test coverage detected