tor-browser

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

name.js (933B)


      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  The "name" property of Iterator
      8 info: |
      9  17 ECMAScript Standard Built-in Objects
     10 
     11  Every built-in Function object, including constructors, that is not
     12  identified as an anonymous function has a name property whose value is a
     13  String. Unless otherwise specified, this value is the name that is given to
     14  the function in this specification.
     15 
     16  ...
     17 
     18  Unless otherwise specified, the name property of a built-in Function
     19  object, if it exists, has the attributes { [[Writable]]: false,
     20  [[Enumerable]]: false, [[Configurable]]: true }.
     21 features: [iterator-helpers]
     22 includes: [propertyHelper.js]
     23 ---*/
     24 
     25 verifyProperty(Iterator, 'name', {
     26  value: 'Iterator',
     27  writable: false,
     28  enumerable: false,
     29  configurable: true,
     30 });
     31 
     32 reportCompare(0, 0);