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