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

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:0340e88080f9
1 var g = newGlobal();
2 var dbg = new Debugger(g);
3
4 try {
5 g.eval("function f() { var array = ['a', 'b']; [1].map(function () {}); return {array}; }");
6 } catch (e) {
7 // Ignore the syntax error.
8 }
9
10 dbg.findScripts();

mercurial