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