Operators in JavaScript
- Basic Operators
- Comparison Operators
- Logical Operators
- Bitwise Operators
Basic Operators
-
+
Addition -
-
Subtraction -
*
Multiplication -
/
Division -
%
Modulus -
++
Increment -
--
Decrement -
()
Group
Comparision Operators
-
==
Equal Value -
===
Equal Value And Same Type -
!=
Not Equal Value -
!==
Not Equal Value And Different Type -
>
Greater Than -
<
Less Than -
>=
Greater than and Equal to -
<=
Lesser than and Equal to.
Logical Operators
-
&&
Logical And -
||
Logical OR -
!
Logical Not
BitWise Operators
-
&
AND statement -
|
OR statement -
~
NOT -
^
XOR -
<<
Zero fill left shift -
>>
Signed right shift -
>>>
Zero Fill right shift
Hope you learned something useful today! Peace Out ✌️
Top comments (1)
Thanks for the info!