Sign in
webkit
/
WebKit
/
983b299acc32acd2faaf762fdcd3ded1f17c80ab
/
.
/
JSTests
/
stress
/
big-int-bitwise-xor-memory-stress.js
blob: 91adf80e152257d1fcfadd9685b6cba984f2d803 [
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
);