summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1473830.js
blob: 209b23a6c8ccd359d45ec04e48a5ff2d3b203c3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
y = [];
y.forEach(function() {});

x = [];
for (var i = 0; i < 100; ++i) {
    x.push(undefined, 1);
}
x.sort();
x.reverse();

x.forEach(function(j) {
    "use strict";
    assertEq(this, 4);
    if (j) {
        x.forEach(function(z) { });
    }
}, 4);