Sign in
webkit
/
WebKit
/
7e7b87940b25767efc592b218ba7b90b8b3c2997
/
.
/
JSTests
/
stress
/
big-int-constructor-prototype-prop-descriptor.js
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
);