tor-browser

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

S8.12.4_A1.js (481B)


      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: If the property has the ReadOnly attribute, [[CanPut]](P) return false
      6 es5id: 8.12.4_A1
      7 description: Try put other value for Math.E property
      8 flags: [noStrict]
      9 ---*/
     10 
     11 var __e = Math.E;
     12 Math.E = 1;
     13 if (Math.E !== __e){
     14  throw new Test262Error('#1: __e = Math.E; Math.E = 1; Math.E === __e. Actual: ' + (Math.E));
     15 }
     16 
     17 reportCompare(0, 0);