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