Sign in
webkit
/
WebKit
/
14cb98a360e661c1b39a648e8ccc3be2e2757789
/
.
/
JSTests
/
stress
/
big-int-multiply-memory-stress.js
blob: 3e5704559cfbec62ba426b1229cbe4dc133017cf [
file
] [
log
] [
blame
]
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
);