October 13, 1999 - Bitwise Operators
October 13, 1999 Bitwise Operators Tips: October 1999
Yehuda Shiran, Ph.D.
|
operand1 operator operand2
JavaScript supports the following bitwise operators:
Syntax Name Type & Bitwise AND binary | Bitwise OR binary ^ Bitwise XOR (exclusive OR) binary ~ Bitwise NOT unary << Left shift binary >> Right shift binary >>> Zero-fill right shift binary