js/src/jit-test/tests/for-of/array-holes-7.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:4a66335f1131
1 // for-of visits inherited properties in an array full of holes.
2
3 Object.prototype[1] = "O";
4 Array.prototype[2] = "A";
5 assertEq([x for (x of Array(4))].join(","), ",O,A,");

mercurial