summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Iterator/constructor.js
blob: 56d8271e82e0aab6f72af3bde8a15fdb6e570cfa (plain)
1
2
3
4
5
6
7
8
9
// |reftest| skip-if(!this.hasOwnProperty('Iterator')) -- Iterator is not enabled unconditionally
/*---
  The Iterator constructor is a built-in function.
---*/

assertEq(typeof Iterator, 'function');

if (typeof reportCompare === 'function')
  reportCompare(0, 0);