tor-browser

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

propertyhelper-verifyconfigurable-configurable.js (399B)


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