tor-browser

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

NaN.js (600B)


      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 esid: sec-number.nan
      6 description: >
      7  "NaN" property descriptor and value of Number
      8 info: |
      9  20.1.2.10 Number.NaN
     10 
     11  The value of Number.NaN is NaN.
     12 
     13  This property has the attributes { [[Writable]]: false, [[Enumerable]]: false,
     14  [[Configurable]]: false }.
     15 includes: [propertyHelper.js]
     16 ---*/
     17 
     18 assert.sameValue(Number.NaN, NaN);
     19 
     20 verifyProperty(Number, "NaN", {
     21  writable: false,
     22  enumerable: false,
     23  configurable: false,
     24 });
     25 
     26 reportCompare(0, 0);