Sign in
webkit
/
WebKit
/
34573b4327f502983405341f6edd2f8dcbc2cb0c
/
.
/
JSTests
/
stress
/
big-int-div-memory-stress.js
blob: 53650b1c8e5b6da853970cd441a053247ca42f38 [
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
===
15n
);