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