Sign in
webkit
/
WebKit
/
18eafb7225658eb078fb4b435c7e6f4bc55edf7a
/
.
/
JSTests
/
stress
/
big-int-bitwise-or-memory-stress.js
blob: 8ffaef72189560664f2002c65182cbeed4e8cd75 [
file
] [
log
] [
blame
]
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
);