Debian Codegraph @

js/src/jit-test/tests/ion/lexical-check-4.js

raw
1 var caught = false;
2 try {
3 (function() {
4 let x = (function f(y) {
5 if (y == 0) {
6 x
7 return
8 }
9 return f(y - 1)
10 })(3)
11 })()
12 } catch(e) {
13 caught = true;
14 }
15 assertEq(caught, true);