summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Array/proto.js
blob: 22015626d585997b4f93de75f13c091a86a73fd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2017 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-properties-of-the-array-constructor
description: >
  The prototype of the Array constructor is the intrinsic object %FunctionPrototype%.
info: |
  22.1.2 Properties of the Array Constructor

  The value of the [[Prototype]] internal slot of the Array constructor is the
  intrinsic object %FunctionPrototype%.
---*/

assert.sameValue(Object.getPrototypeOf(Array), Function.prototype);

reportCompare(0, 0);