Debian Codegraph @

js/src/jit-test/tests/debug/bug980585.js

raw
1 var g = newGlobal({newCompartment: true});
2 var dbg = new Debugger(g);
3
4 try {
5 g.eval("function f() { [1].map(function () {}); const x = 42; x = 43; } f();");
6 } catch (e) {
7 // Ignore the syntax error.
8 }
9
10 dbg.findScripts();