blob: 0490c6f567147462ecabd49c53e2700b8dcd2181 [file] [log] [blame]
//@ runBigIntEnabled
function assert(a) {
if (!a)
throw new Error("Bad assertion");
}
let p = Object.getOwnPropertyDescriptor(BigInt.prototype, "constructor");
assert(p.writable === true);
assert(p.enumerable === false);
assert(p.configurable === true);
assert(p.value === BigInt);