tor-browser

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

S11.1.6_A3_T2.js (537B)


      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: "\"This\" operator only evaluates Expression"
      6 es5id: 11.1.6_A3_T2
      7 description: Applying grouping operator to Number
      8 ---*/
      9 
     10 //Check for Number
     11 
     12 //CHECK#1
     13 if ((1) !== 1) {
     14  throw new Test262Error('#1: (1) === 1. Actual: ' + ((1)));
     15 }
     16 
     17 //CHECK#2
     18 var x = new Number(1);
     19 if ((x) !== x) {
     20  throw new Test262Error('#2: var x = new Number(1); (x) === x. Actual: ' + ((x)));
     21 }
     22 
     23 reportCompare(0, 0);