Sign in
webkit
/
WebKit
/
1a79bee400eb09e4e61992ad877612506d12b02d
/
.
/
JSTests
/
stress
/
big-int-addition-memory-stress.js
blob: a0f00995ebbc8c0d8a7d71f90a435aee8ff0d012 [
file
] [
log
] [
blame
]
function
assert
(
a
)
{
if
(!
a
)
throw
new
Error
(
"Bad assertion"
);
}
let a
=
0n
;
for
(
let i
=
0
;
i
<
1000000
;
i
++)
{
a
+=
30n
;
}
assert
(
a
===
30000000n
);