tor-browser

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

primitive-symbols.js (455B)


      1 // Copyright (C) 2015 Jordan Harband. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-object.entries
      6 description: Object.entries accepts Symbol primitives.
      7 author: Jordan Harband
      8 features: [Symbol]
      9 ---*/
     10 
     11 var result = Object.entries(Symbol());
     12 
     13 assert.sameValue(Array.isArray(result), true, 'result is an array');
     14 assert.sameValue(result.length, 0, 'result has 0 items');
     15 
     16 reportCompare(0, 0);