summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/closures/bug497015-1.js
blob: ac0511a3130d243f96188fed1467fab10a76282d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
actual = '';
expected = ',0,0,8888,0,0,8888,0,0,/x/,0,0,';

for each(let a in ['', 8888, 8888, /x/]) {
    '';
    for each(e in ['', false, '']) {
        (function(e) {
            for each(let c in ['']) {
                appendToActual(a);
            }
        })();
        for (let aa = 0; aa < 1; ++aa) {
            a = aa;
        }
    }
}


assertEq(actual, expected)