tor-browser

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

name.js (843B)


      1 // Copyright (C) 2019 André Bargull. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-arrow-function-definitions-runtime-semantics-evaluation
      6 description: Assignment of function `name` attribute
      7 info: |
      8    ArrowFunction : ArrowParameters => ConciseBody 
      9 
     10    1. Let scope be the LexicalEnvironment of the running execution context.
     11    2. Let parameters be CoveredFormalsList of ArrowParameters.
     12    3. Let closure be FunctionCreate(Arrow, parameters, ConciseBody, scope, "").
     13    ...
     14    5. Return closure.
     15 includes: [propertyHelper.js]
     16 ---*/
     17 
     18 verifyProperty(x => {}, "name", {
     19  value: "", writable: false, enumerable: false, configurable: true
     20 });
     21 
     22 verifyProperty(() => {}, "name", {
     23  value: "", writable: false, enumerable: false, configurable: true
     24 });
     25 
     26 reportCompare(0, 0);