summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/basic/bug1134146.js
blob: 5d2a478957d0cb7a096038c5248a603ffcf49de4 (plain)
1
2
3
4
5
6
7
8
9
10

function Foo(a, b) {
    b = {};
    this.b = b;
};
var a = [];
for (var i = 0; i < 50; i++)
    a.push(new Foo(i, i + 1));
i = 0;
a[i].c = i;