Sign in
webkit
/
WebKit
/
e1a82001cfdab62c438e943f37ce20f74c8e0820
/
.
/
JSTests
/
stress
/
big-int-bitwise-or-memory-stress.js
blob: 0ef0f957505b881339fbda3cba9c6f315ae88327 [
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
===
0b11n
);