Sign in
webkit
/
WebKit
/
60c3f717a9141a0f8afd6e8437d26c6404e4424c
/
.
/
JSTests
/
stress
/
big-int-proto-name.js
blob: 62eb3a8be6dcf5ebf3f9382609c7462ee20e260b [
file
] [
log
] [
blame
]
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"
);