blob: d8573bb3ce0d8ad8d82d73c01fe47742f23a3e3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// |reftest| skip-if(!this.hasOwnProperty('Iterator'))
//
/*---
esid: pending
description: TypeError is thrown if `this` is an Array.
info:
features: [Symbol.iterator]
---*/
assertThrowsInstanceOf(() => Iterator.prototype.map.call([], x => x), TypeError);
if (typeof reportCompare == 'function')
reportCompare(0, 0);
|