tor-browser

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

S15.7.3.3_A4.js (586B)


      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: Number.MIN_VALUE has the attribute DontEnum
      6 es5id: 15.7.3.3_A4
      7 description: Checking if enumerating Number.MIN_VALUE fails
      8 ---*/
      9 
     10 for (var x in Number) {
     11  assert.notSameValue(x, "MIN_VALUE", 'The value of x is not "MIN_VALUE"');
     12 }
     13 
     14 assert(
     15  !Number.propertyIsEnumerable('MIN_VALUE'),
     16  'The value of !Number.propertyIsEnumerable(\'MIN_VALUE\') is expected to be true'
     17 );
     18 
     19 // TODO: Convert to verifyProperty() format.
     20 
     21 reportCompare(0, 0);