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

Function confused

deps/v8/test/debugger/debug/es8/async-debug-caught-exception.js:133–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131var resolve;
132var turnOnListenerPromise = new Promise(r => resolve = r);
133async function confused() {
134 await turnOnListenerPromise;
135 throw foo
136}
137confused();
138Promise.resolve().then(() => {
139 Debug.setListener(listener);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected