Sign in
webkit
/
WebKit
/
84f33502937aafb6ce5356edb4e15b2b5212e0f3
/
.
/
JSTests
/
stress
/
big-int-multiply-memory-stress.js
blob: 1abaa7e28f9aee65d21c0d36f63df68023b9c897 [
file
] [
log
] [
blame
]
//@ runBigIntEnabled
function
assert
(
a
)
{
if
(!
a
)
throw
new
Error
(
"Bad assertion"
);
}
let a
=
0n
;
let b
=
1n
;
for
(
let i
=
0
;
i
<
1000000
;
i
++)
{
a
=
b
*
30n
;
}
assert
(
a
===
30n
);