summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/pic/bug645184.js
blob: 80d20d45a4bba53b3b9f9057d881abaf9ae1885b (plain)
1
2
3
4
5
6
7
8
var obj = new Object();
var passed = true;
for (var i = 0; i < 100; i++) {
    if (obj['-1'] == null)
        obj['-1'] = new Array();
    assertEq(obj['-1'] == null, false);
    obj = new Object();
}