Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Object/bigint.js

raw
1 // Copyright (C) 2017 Robin Templeton. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 description: Conversion of BigInt values to Objects
6 esid: pending
7 features: [BigInt]
8 ---*/
9
10 assert(Object(0n) instanceof BigInt);
11 assert.sameValue(Object(0n).valueOf(), 0n);