michael@0: // for-of visits inherited properties in an array full of holes. michael@0: michael@0: Object.prototype[1] = "O"; michael@0: Array.prototype[2] = "A"; michael@0: assertEq([x for (x of Array(4))].join(","), ",O,A,");