Debian Codegraph @

js/src/jit-test/tests/basic/bug1237564.js

raw
1 // |jit-test| error:ReferenceError: can't access lexical
2 try {
3 evaluate("let x = (() => { throw 3 })();");
4 } catch(e) {
5 assertEq(e, 3);
6 }
7 Object.defineProperty(this, "x", {});
8 (function() { x = 3; })();