tor-browser

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

S15.4.2.1_A1.1_T3.js (549B)


      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 [[Prototype]] property of the newly constructed object
      7    is set to the original Array prototype object, the one that
      8    is the initial value of Array.prototype
      9 es5id: 15.4.2.1_A1.1_T3
     10 description: Checking use isPrototypeOf
     11 ---*/
     12 assert.sameValue(
     13  Array.prototype.isPrototypeOf(new Array()),
     14  true,
     15  'Array.prototype.isPrototypeOf(new Array()) must return true'
     16 );
     17 
     18 reportCompare(0, 0);