blob: 2b4703fbce1a3d75c61bfccf9be1043d31fa7b10 [file] [log] [blame]
// for-of visits each hole in an array full of holes.
var n = 0;
for (var x of Array(5)) {
assertEq(x, undefined);
n++;
}
assertEq(n, 5);