summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/BigInt64Array/prototype/BYTES_PER_ELEMENT.js
blob: 14106c83fecb54948028c039113eb6726b25751a (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
// 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.bytes_per_element
description: BigInt64Array.prototype.BYTES_PER_ELEMENT property descriptor
info: >
  22.2.5.1 TypedArray.prototype.BYTES_PER_ELEMENT

  The value of TypedArray.prototype.BYTES_PER_ELEMENT is the Number
  value of the Element Size value specified in Table 52 for TypedArray.

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

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