Sign in
webkit
/
WebKit
/
e8494a3e400e9840c5c9d3a9498548be8949fc6c
/
.
/
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
);