tor-browser

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

length.js (998B)


      1 // Copyright (C) 2022 Igalia, S.L. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-array.fromasync
      6 description: Value and property descriptor of Array.fromAsync.length
      7 info: |
      8  Every built-in function object, including constructors, has a *"length"*
      9  property whose value is a non-negative integral Number. Unless otherwise
     10  specified, this value is equal to the number of required parameters shown in
     11  the subclause heading for the function description. Optional parameters and
     12  rest parameters are not included in the parameter count.
     13 
     14  Unless otherwise specified, the *"length"* property of a built-in function
     15  object has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*,
     16  [[Configurable]]: *true* }.
     17 includes: [propertyHelper.js]
     18 features: [Array.fromAsync]
     19 ---*/
     20 
     21 verifyProperty(Array.fromAsync, "length", {
     22  value: 1,
     23  writable: false,
     24  enumerable: false,
     25  configurable: true,
     26 });
     27 
     28 reportCompare(0, 0);