summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Array/prototype/proto.js
blob: 9d65c838698c698abe032814445146698cb90800 (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-prototype-object
description: >
  The [[Prototype]] of Array.prototype is Object.Prototype.
info: |
  22.1.3 Properties of the Array Prototype Object

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

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

reportCompare(0, 0);