Sign in
webkit
/
WebKit
/
18eafb7225658eb078fb4b435c7e6f4bc55edf7a
/
.
/
JSTests
/
stress
/
big-int-mod-memory-stress.js
blob: 8295b569fa4e46b7e8cc186043d505446f6943e8 [
file
] [
log
] [
blame
]
function
assert
(
a
)
{
if
(!
a
)
throw
new
Error
(
"Bad assertion"
);
}
let a
=
0n
;
let b
=
30n
;
for
(
let i
=
0
;
i
<
1000000
;
i
++)
{
a
=
b
%
2n
;
}
assert
(
a
===
0n
);