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