summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testIncElem3.js
blob: 922aeb9b8fdb212c8fa25be905e6f02ea33ae409 (plain)
1
2
3
4
5
6
var arr;
for (var j = 0; j < 18; ++j ) {
    arr = [,];
    ++arr[0];
}
assertEq(isNaN(arr[0]), true);