JavaScript Tutorial #8 – Operators in JavaScript

JavaScript supports different types of operators that includes

Assignment Operator

JavaScript supports different types if Assignment Operators like
=
+=
-=
*=
/=
%=

Arithmetic Operator

+ – Add Operator
– – Subtract Operator
* – Multiplication
/ – Division
% – Modulus
++ – Increment
— – Decrement

Logical Operator

The below Logical operators are supported in JavaScript
&& – Logical AND
|| – Logical OR
! – Logical NOT

Comparison Operator

The below comparison operators are supported in JavaScript.

==
!=
>
<
>=
<=

Conditional Operator

? :

typeof Operator

Bitwise Operators:

&
|
^
~
<<
>>
>>>