tor-browser

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

prop-desc.js (650B)


      1 // Copyright (C) 2024 André Bargull. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-date.parse
      6 description: >
      7  Property descriptor for Date.parse.
      8 info: |
      9  Date.parse ( string )
     10 
     11  17 ECMAScript Standard Built-in Objects:
     12    Every other data property described in clauses 19 through 28 and in
     13    Annex B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
     14    [[Configurable]]: true } unless otherwise specified.
     15 includes: [propertyHelper.js]
     16 ---*/
     17 
     18 verifyProperty(Date, "parse", {
     19  writable: true,
     20  enumerable: false,
     21  configurable: true,
     22 });
     23 
     24 reportCompare(0, 0);