blob: 7a7fa01537ea5e6cc8a0d31e14b6d3f415c843f4 [file] [log] [blame]
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);