summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug624041-1.js
blob: 4eef9e9a9971c2a50e1eaca87fde951aaf6bbc74 (plain)
1
2
3
4
5
6
7
8
var count = 0;

var a = [0, 1];
for (var i in a) {
    assertEq(++count <= 1, true);
    a.shift();
}