blob: ec0a73416a8ba538f236a590582b9442199b3c58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// |reftest| skip-if(!this.hasOwnProperty('AsyncIterator'))
/*---
esid: pending
description: %AsyncIterator.prototype%.drop.name value and descriptor.
info: >
17 ECMAScript Standard Built-in Objects
features: [iterator-helpers]
---*/
assertEq(AsyncIterator.prototype.drop.name, 'drop');
const propertyDescriptor = Reflect.getOwnPropertyDescriptor(AsyncIterator.prototype.drop, 'name');
assertEq(propertyDescriptor.value, 'drop');
assertEq(propertyDescriptor.enumerable, false);
assertEq(propertyDescriptor.writable, false);
assertEq(propertyDescriptor.configurable, true);
if (typeof reportCompare == 'function')
reportCompare(0, 0);
|