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