Sign in
webkit
/
WebKit
/
60c3f717a9141a0f8afd6e8437d26c6404e4424c
/
.
/
JSTests
/
stress
/
big-int-no-conversion-to-number.js
blob: bcefa28106b73a2e2e53cfd39b0c78115d584697 [
file
] [
log
] [
blame
]
let message
;
try
{
1n
+
1
;
}
catch
(
error
)
{
message
=
error
.
message
;
}
if
(
message
!==
"Invalid mix of BigInt and other type in addition."
)
{
throw
new
Error
(
"Error message has changed to something unexpected"
);
}