blob: 4e8061cfe70134912216eaab9b7b20a250d9bfd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// |reftest| skip-if(!this.hasOwnProperty('AsyncIterator'))
/*---
AsyncIterator constructor can be subclassed.
---*/
class TestIterator extends AsyncIterator {
}
assertEq(new TestIterator() instanceof AsyncIterator, true);
if (typeof reportCompare === 'function')
reportCompare(0, 0);
|