summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug560098.js
blob: 18b5e760905d6ee2d73767d75054b7e3d9fd89f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Function("\
    for each(let w in [(5), false, Number, false]) {\
        (function f(zzzzzz) {\
            return zzzzzz.length == 0 ? 0 : zzzzzz[0] + f(zzzzzz.slice(1))\
        })([, [], [], w, , ])\
    }\
")()

Function("\
    for each(let w in [(void 0), (void 0), false, false, false, false, false, \
                       undefined, undefined, false, (void 0), undefined]) {\
        (function f(zzzzzz) {\
            return zzzzzz.length == 0 ? 0 : zzzzzz[0] + f(zzzzzz.slice(1))\
        })([w, , w, w, [], []])\
    }\
")()