tor-browser

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

propertyhelper-verifyenumerable-enumerable-symbol.js (436B)


      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 /*---
      5 description: >
      6    Objects whose specified symbol property is enumerable satisfy the assertion.
      7 includes: [propertyHelper.js]
      8 features: [Symbol]
      9 ---*/
     10 
     11 var obj = {};
     12 var s = Symbol('1');
     13 Object.defineProperty(obj, s, {
     14  enumerable: true
     15 });
     16 
     17 verifyEnumerable(obj, s);
     18 
     19 reportCompare(0, 0);