tor-browser

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

S9.8_A2_T1.js (438B)


      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: Result of ToString conversion from null value is "null"
      6 es5id: 9.8_A2_T1
      7 description: null convert to String by explicit transformation
      8 ---*/
      9 
     10 // CHECK#1
     11 if (String(null) !== "null") {
     12  throw new Test262Error('#1: String(null) === "null". Actual: ' + (String(null)));
     13 }
     14 
     15 reportCompare(0, 0);