summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/closures/flat-closure-7.js
blob: 8f653a52f45c5e4a4c459710dcc82d45d9d532d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
actual = '';
expected = '0 0 0 0 0 0 0 0 0,';

    var o = [];
    for (var a = 0; a < 9; ++a) {
        var unused = 0;
        let zero = 0;
        for (var ee = 0; ee < 1; ++ee) {
          o.push((function () zero)());
        }
    }
    appendToActual(o.join(" "));


assertEq(actual, expected)