blob: 1bbf2d9c2da3e951ea7f8d6257bd8c622a33bfc9 [file] [log] [blame]
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);