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