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

Function gen13

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

Source from the content-addressed store, hash-verified

313// Set a variable in an empty scope.
314
315function *gen13() {
316 yield 1;
317 return 2;
318}
319
320var g = gen13();
321assertThrows(() => Debug.generatorScope(g, 0).setVariableValue("a", 42));

Calls

no outgoing calls

Tested by

no test coverage detected