Bitwise Operators 
Top Previous Next 
Operators: & ^ Syntax:
The bitwise operators convert both expressions to Number, if necessary, and then both are converted to internal integer format. Each operator compares each bit of expression1 with the corresponding bit of expression2 and produces a result bit according to the following table:
The operator is applied to each of the 32 bits of the expressions for a 32bit result.
