Operators JavaScript Tutorial

Syntax num1 | num2
Bitwise Exclusive OR Truth Table
First ValueSecond ValueResult
truetruetrue
truefalsetrue
falsetruetrue
falsefalsefalse