tor-browser

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

S15.1.1.1_A2_T2.js (430B)


      1 // Copyright (C) 2015 André Bargull. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 info: The NaN is ReadOnly
      6 es5id: 15.1.1.1_A2_T2
      7 description: Checking typeof Functions
      8 flags: [noStrict]
      9 ---*/
     10 
     11 // CHECK#1
     12 NaN = true;
     13 assert.notSameValue(typeof(NaN), "boolean", 'The value of typeof(NaN) is not "boolean"');
     14 
     15 // TODO: Convert to verifyProperty() format.
     16 
     17 reportCompare(0, 0);