tor-browser

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

15.2.3.9-2-a-13.js (501B)


      1 // Copyright (c) 2012 Ecma International.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 es5id: 15.2.3.9-2-a-13
      6 description: Object.freeze - 'P' is own index property of the Object
      7 includes: [propertyHelper.js]
      8 ---*/
      9 
     10 
     11 // default [[Configurable]] attribute value of "0": true
     12 var obj = {
     13  0: 0,
     14  1: 1,
     15  length: 2
     16 };
     17 
     18 Object.freeze(obj);
     19 
     20 verifyProperty(obj, "0", {
     21  value: 0,
     22  writable: false,
     23  configurable: false,
     24 });
     25 
     26 reportCompare(0, 0);