tor-browser

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

S7.7_A1.js (682B)


      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: Correct interpretation of all punctuators
      6 es5id: 7.7_A1
      7 description: Using all punctuators
      8 ---*/
      9 
     10 this.nan = NaN;
     11 
     12 //CHECK#1
     13  ({});[];
     14  this.nan;
     15  1 < 2 > 3 <= 4 >= 5 == 6 != 7 === 8 !== 9;
     16  1 + 2 - 3 * 4 % 5 / 6 << 7 >> 8 >>> 9;
     17  this.nan++; ++this.nan; this.nan--; --this.nan;
     18  1 & 2 | 3 ^ 4 && !5 || ~6;
     19  1 ? 2 : 3;
     20  this.nan = 1; this.nan += 2; this.nan -= 3; this.nan *= 4; this.nan /= 5;
     21  this.nan %= 6; this.nan <<= 7; this.nan >>= 8; this.nan >>>= 9;
     22  this.nan &= 1; this.nan |= 2; this.nan ^= 3;
     23 
     24 reportCompare(0, 0);