blob: 679e75460c78273a8d9b62df1c20ba03d7a0af95 (
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.prototype.some.
---*/
const propDesc = Reflect.getOwnPropertyDescriptor(Iterator.prototype.some, 'name');
assertEq(propDesc.value, 'some');
assertEq(propDesc.writable, false);
assertEq(propDesc.enumerable, false);
assertEq(propDesc.configurable, true);
if (typeof reportCompare === 'function')
reportCompare(0, 0);
|