summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testNEWINIT.js
blob: 28fd227a2906603f3dc5054dffa647cd96b28347 (plain)
1
2
3
4
5
6
7
8
function testNEWINIT()
{
    var a;
    for (var i = 0; i < 10; ++i)
        a = [{}];
    return uneval(a);
}
assertEq(testNEWINIT(), "[{}]");