tor-browser

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

prop-desc.js (783B)


      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 esid: sec-iterator.from
      5 description: >
      6  Property descriptor of Iterator.from
      7 info: |
      8  Iterator.from
      9 
     10  * is the initial value of the Iterator.from property of the global object.
     11 
     12  17 ECMAScript Standard Built-in Objects
     13 
     14  Every other data property described in clauses 18 through 26 and in Annex B.2
     15  has the attributes { [[Writable]]: true, [[Enumerable]]: false,
     16  [[Configurable]]: true } unless otherwise specified.
     17 features: [globalThis, iterator-helpers]
     18 includes: [propertyHelper.js]
     19 ---*/
     20 
     21 verifyProperty(Iterator, 'from', {
     22  value: Iterator.from,
     23  writable: true,
     24  enumerable: false,
     25  configurable: true,
     26 });
     27 
     28 reportCompare(0, 0);