blob: 1bbf2d9c2da3e951ea7f8d6257bd8c622a33bfc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
var BUGNUMBER = 1247701;
var summary = 'Array.prototype.shift on a dense array with holes should update for-in enumeration properties.';
print(BUGNUMBER + ": " + summary);
var x = ["a", , "b", , "c", "d" , "e", "f", "g"];
for (var p in x) {
assertEq(p in x, true);
x.shift();
}
if (typeof reportCompare === "function")
reportCompare(true, true);
|