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