tor-browser

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

S9.2_A3_T1.js (482B)


      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 boolean conversion from boolean value is no conversion
      6 esid: sec-toboolean
      7 description: true and false convert to Boolean by explicit transformation
      8 ---*/
      9 assert.sameValue(Boolean(true), true, 'Boolean(true) must return true');
     10 assert.sameValue(Boolean(false), false, 'Boolean(false) must return false');
     11 
     12 reportCompare(0, 0);