summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/TypedArrayConstructors/BigInt64Array/prototype/constructor.js
blob: 5b10a19b6690b421214c2f6b67f963bb13961af5 (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
// 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.constructor
description: BigInt64Array.prototype.constructor property descriptor
info: |
  22.2.6.2 TypedArray.prototype.constructor

  The initial value of a TypedArray.prototype.constructor is the
  corresponding %TypedArray% intrinsic object.

  17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [BigInt]
---*/

verifyProperty(BigInt64Array.prototype, "constructor", {
  value: BigInt64Array,
  writable: true,
  enumerable: false,
  configurable: true
});

reportCompare(0, 0);