blob: 19bdde852b33aa4113963a3291a6a288a1946b01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// |reftest| skip-if(!this.hasOwnProperty('Iterator')) -- Iterator is not enabled unconditionally
/*---
Descriptor property of Iterator.from
---*/
const propDesc = Reflect.getOwnPropertyDescriptor(Iterator, 'from');
assertEq(propDesc.writable, true);
assertEq(propDesc.enumerable, false);
assertEq(propDesc.configurable, true);
if (typeof reportCompare === 'function')
reportCompare(0, 0);
|