Sign in
webkit
/
WebKit
/
2407c13a2399c4568e8cece663056bea8d649abf
/
.
/
JSTests
/
stress
/
big-int-prop-descriptor.js
blob: d680b8e2fb9e8a5d8f5079aa04fb624e81e743d3 [
file
] [
log
] [
blame
]
//@ runBigIntEnabled
function
assert
(
a
)
{
if
(!
a
)
throw
new
Error
(
"Bad assertion"
);
}
let p
=
Object
.
getOwnPropertyDescriptor
(
this
,
"BigInt"
);
assert
(
p
.
writable
===
true
);
assert
(
p
.
enumerable
===
false
);
assert
(
p
.
configurable
===
true
);