summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug570385-1.js
blob: ec9007c010276d09aaece286e234e3faadd3dd7a (plain)
1
2
3
4
5
6
7
8
9
var actual = '';

var a = [0, 1];
for (var i in a) {
    appendToActual(i);
    a.pop();
}

assertEq(actual, "0,");