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

Function test

deps/v8/test/debugger/debug/es6/debug-scope-default-param-with-eval.js:17–19  ·  view source on GitHub ↗
(x = eval("var y = 7; debugger; y") + call_for_break())

Source from the content-addressed store, hash-verified

15}
16
17function test(x = eval("var y = 7; debugger; y") + call_for_break()) {
18 return x;
19}
20
21function listener(event, exec_state, event_data, data) {
22 if (event != Debug.DebugEvent.Break) return;

Calls 2

call_for_breakFunction · 0.85
evalFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…