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

var q = [];
for (var a = 0; a < 3; ++a) {
    (function () {
        for (var b = 7; b < 9; ++b) {
            (function () {
                for (var c = 0; c < 1; ++c) {
		  q.push(b);
                }
            })();
        }
    })();
}
appendToActual(q.join(""));


assertEq(actual, expected)