tor-browser

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

10.2.1.1.3-4-16-s-strict.js (431B)


      1 'use strict';
      2 // Copyright (c) 2012 Ecma International.  All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 es5id: 10.2.1.1.3-4-16-s
      7 description: >
      8    Strict Mode - TypeError is thrown when changing the value of a
      9    Value Property of the Global Object under strict mode (NaN)
     10 flags: [onlyStrict]
     11 ---*/
     12 
     13 
     14 assert.throws(TypeError, function() {
     15  NaN = 12;
     16 });
     17 
     18 reportCompare(0, 0);