This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.

Smartphone icons created by Freepik - Flaticon

JS Bitwise XOR

The ^ Operator

document.getElementById("demo").innerHTML = 5 ^ 1;

Bitwise XOR (^) returns 1 if the bits are different: