summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/BigInt/asIntN/asIntN.js
blob: 24536e95e199e8c67fa4d12e6c6aebe2317f8aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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 property descriptor
info: |
  BigInt.asIntN ( bits, bigint )

  17 ECMAScript Standard Built-in Objects

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

assert.sameValue(typeof BigInt.asIntN, 'function');

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

reportCompare(0, 0);