Debian Codegraph @

js/src/tests/non262/AsyncIterator/asynciterator.js

raw
1 // |reftest| skip-if(!this.hasOwnProperty('AsyncIterator')) -- AsyncIterator is not enabled unconditionally
2 /*---
3 Property descriptor of AsyncIterator.
4 ---*/
5
6 const propDesc = Reflect.getOwnPropertyDescriptor(this, 'AsyncIterator');
7 assertEq(propDesc.value, AsyncIterator);
8 assertEq(propDesc.writable, true);
9 assertEq(propDesc.enumerable, false);
10 assertEq(propDesc.configurable, true);
11
12 if (typeof reportCompare === 'function')
13 reportCompare(0, 0);