Debian Codegraph @

js/src/tests/test262/built-ins/Iterator/constructor.js

raw
1 // |reftest| shell-option(--enable-iterator-helpers) skip-if(!this.hasOwnProperty('Iterator')||!xulRuntime.shell) -- iterator-helpers is not enabled unconditionally, requires shell-options
2 // Copyright (C) 2020 Rick Waldron. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 esid: sec-iterator-constructor
7 description: >
8 The Iterator constructor is a built-in function
9 features: [iterator-helpers]
10 ---*/
11
12 assert.sameValue(typeof Iterator, 'function', 'The value of `typeof Iterator` is "function"');
13
14 reportCompare(0, 0);