tor-browser

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

propertyhelper-verifyenumerable-enumerable.js (400B)


      1 // Copyright (C) 2015 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 string property is enumerable satisfy the assertion.
      7 includes: [propertyHelper.js]
      8 ---*/
      9 
     10 var obj = {};
     11 Object.defineProperty(obj, 'a', {
     12  enumerable: true
     13 });
     14 
     15 verifyEnumerable(obj, 'a');
     16 
     17 reportCompare(0, 0);