tor-browser

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

name-property-desc.js (483B)


      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    Functions declared as methods are defined as enumerable, writable,
      7    configurable properties on the initialized object.
      8 es6id: 14.3.8
      9 includes: [propertyHelper.js]
     10 ---*/
     11 
     12 var obj = { method() {} };
     13 
     14 verifyProperty(obj, "method", {
     15  writable: true,
     16  enumerable: true,
     17  configurable: true,
     18 });
     19 
     20 reportCompare(0, 0);