tor-browser

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

S15.1.1.2_A2_T2.js (452B)


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