js/src/jit-test/tests/closures/bug540131-2.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:d0bda2fa99b7
1 // |jit-test| error: TypeError
2 (function() {
3 for (let z in [true]) {
4 (new(eval("for(l in[0,0,0,0]){}"))
5 (((function f(a, b) {
6 if (a.length == b) {
7 return (z)
8 }
9 f(a, b + 1)
10 })([,,], 0)), []))
11 }
12 })()
13

mercurial