1 2 3 4 5 6 7 8
// 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);