summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/bigint.js
blob: 12acf1582a44682a3cc0652ea0ee278e37fd0657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2017 Robin Templeton. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: Conversion of BigInt values to Objects
esid: pending
features: [BigInt]
---*/

assert(Object(0n) instanceof BigInt);
assert.sameValue(Object(0n).valueOf(), 0n);

reportCompare(0, 0);