tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

prop-desc.js (793B)


      1 // Copyright (C) 2020 Rick Waldron. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-iterator-constructor
      6 description: >
      7  Property descriptor of Iterator
      8 info: |
      9  The Iterator Constructor
     10 
     11  * is the initial value of the Iterator property of the global object.
     12 
     13  17 ECMAScript Standard Built-in Objects
     14 
     15  Every other data property described in clauses 18 through 26 and in Annex B.2
     16  has the attributes { [[Writable]]: true, [[Enumerable]]: false,
     17  [[Configurable]]: true } unless otherwise specified.
     18 features: [globalThis, iterator-helpers]
     19 includes: [propertyHelper.js]
     20 ---*/
     21 
     22 verifyProperty(globalThis, 'Iterator', {
     23  value: Iterator,
     24  writable: true,
     25  enumerable: false,
     26  configurable: true,
     27 });
     28 
     29 reportCompare(0, 0);