tor-browser

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

supports-symbols.js (377B)


      1 // Copyright (C) 2018 Kevin Gibbons. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 description: Allows symbol keys.
      6 esid: sec-object.fromentries
      7 features: [Symbol, Object.fromEntries]
      8 ---*/
      9 
     10 var key = Symbol();
     11 var result = Object.fromEntries([[key, 'value']]);
     12 assert.sameValue(result[key], 'value');
     13 
     14 reportCompare(0, 0);