summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug852342.js
blob: c2fee0c8fc6195093060db315fbc54d9f413ce6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12

function A(a) { }
function B(b) { this.b = b; }
function C(c) {}
function makeArray(n) {
    var classes = [A, B, C];
    var arr = [];
    for (var i = (" "); i < n; i++) {
        arr.push(new classes[i % 3](i % 3));
    }
}
makeArray(30000);