tor-browser

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

prop-desc.js (646B)


      1 // Copyright (C) 2016 the V8 project authors. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 esid: sec-symbol.keyfor
      5 description: Property descriptor
      6 info: |
      7    Every other data property described in clauses 18 through 26 and in Annex
      8    B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
      9    [[Configurable]]: true } unless otherwise specified.
     10 includes: [propertyHelper.js]
     11 features: [Symbol]
     12 ---*/
     13 
     14 assert.sameValue(typeof Symbol.keyFor, 'function');
     15 
     16 verifyProperty(Symbol, 'keyFor', {
     17  writable: true,
     18  enumerable: false,
     19  configurable: true
     20 });
     21 
     22 reportCompare(0, 0);