Sign in
webkit
/
WebKit
/
6b7c45f751131450b1675ef5b4b89fb3a0e35aba
/
.
/
JSTests
/
stress
/
big-int-bitwise-and-memory-stress.js
blob: 61e7ae3b9c91c790d93bff3d458b5141f0a9454c [
file
] [
log
] [
blame
]
//@ runBigIntEnabled
function
assert
(
a
)
{
if
(!
a
)
throw
new
Error
(
"Bad assertion"
);
}
let a
=
0b11n
;
for
(
let i
=
0
;
i
<
1000000
;
i
++)
{
a
&=
0b01n
;
}
assert
(
a
===
0b01n
);