tor-browser

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

proto.js (617B)


      1 // Copyright (C) 2017 Leo Balter. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-properties-of-the-array-constructor
      6 description: >
      7  The prototype of the Array constructor is the intrinsic object %FunctionPrototype%.
      8 info: |
      9  22.1.2 Properties of the Array Constructor
     10 
     11  The value of the [[Prototype]] internal slot of the Array constructor is the
     12  intrinsic object %FunctionPrototype%.
     13 ---*/
     14 
     15 assert.sameValue(
     16  Object.getPrototypeOf(Array),
     17  Function.prototype,
     18  'Object.getPrototypeOf(Array) returns Function.prototype'
     19 );
     20 
     21 reportCompare(0, 0);