blob: 97c14f0d061c66da59737533f1f62d16fcc7b90d (
plain)
1
2
3
4
5
6
7
8
9
10
|
// |reftest| skip-if(!this.hasOwnProperty('Iterator')) -- Iterator is not enabled unconditionally
const iter = [].values();
const array = iter.toArray();
assertEq(Array.isArray(array), true);
assertEq(array.length, 0);
if (typeof reportCompare === 'function')
reportCompare(0, 0);
|