tor-browser

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

S15.3.3_A2_T2.js (510B)


      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: |
      6    The value of the internal [[Prototype]] property of the Function constructor
      7    is the Function prototype object
      8 es5id: 15.3.3_A2_T2
      9 description: Add new property to Function.prototype and check it
     10 ---*/
     11 
     12 Function.prototype.indicator = 1;
     13 
     14 assert.sameValue(Function.indicator, 1, 'The value of Function.indicator is expected to be 1');
     15 
     16 reportCompare(0, 0);