Home >> Javascript >> Bitwise Operators in Javascript

Bitwise Operators in Javascript

Operator     Description        Example

&                 Bitwise AND       (10==20 & 20==25) false

|                   Bitwise  OR        (10==20 | 20==25) false

^                  Bitwise XOR       (10==20 ^ 20==25) false

~                  Bitwise Not        (~10)=-10

Post Your Comment

Next Questions
Logical Operators
Assignment operators
Special Operators
Increment / Decrement Operators
Statement
If statement
If else statement
If else if statement
Switch statement
loop
For loop
While loop
Do while loop
Functions
Objects
Array
Events
Onchange event
Onclick event
Onmouseover event
Onmouseout
Onkeydown event
Onload event

Copyright ©2022 coderraj.com. All Rights Reserved.