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

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

assertEq(actual, "0,");