tor-browser

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

name.js (931B)


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