summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/BigInt/asIntN/length.js
blob: 57e6347ddc387336d6a107986c5894f586922805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2017 Josh Wolfe. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-bigint.asintn
description: BigInt.asIntN.length descriptor
info: |
  BigInt.asIntN ( bits, bigint )

  17 ECMAScript Standard Built-in Objects

includes: [propertyHelper.js]
features: [BigInt]
---*/

verifyProperty(BigInt.asIntN, "length", {
  value: 2,
  enumerable: false,
  writable: false,
  configurable: true
});

reportCompare(0, 0);