summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/TypedArrayConstructors/BigInt64Array/prototype.js
blob: 41a7afcb849074db5d59543385e3c0b1156ed31e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (C) 2017 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-typedarray.prototype
description: BigInt64Array.prototype property descriptor
info: |
  22.2.5.2 TypedArray.prototype

  The initial value of TypedArray.prototype is the corresponding
  TypedArray prototype intrinsic object (22.2.6).

  This property has the attributes { [[Writable]]: false,
  [[Enumerable]]: false, [[Configurable]]: false }.
includes: [propertyHelper.js]
features: [BigInt]
---*/

verifyProperty(BigInt64Array, "prototype", {
  value: Object.getPrototypeOf(new BigInt64Array()),
  writable: false,
  enumerable: false,
  configurable: false
});

reportCompare(0, 0);