JavaScript:operator
Basic Operators
code:txt
+ Addition
- Subtraction
* Multiplication
/ Division
(..) Grouping operator
% Modulus (remainder)
++ Increment numbers
-- Decrement numbers
Comparison Operators
code:txt
== Equal to
=== Equal value and equal type
!= Not equal
!== Not equal value or not equal type
Greater than
< Less than
= Greater than or equal to
<= Less than or equal to
? Ternary operator
Logical Operators
code:txt
&& Logical and
|| Logical or
! Logical not
Bitwise Operators
code:txt
& AND statement
| OR statement
~ NOT
^ XOR
<< Left shift
> Right shift
>> Zero fill right shift
JavaScript-term.icon
https://img.shields.io/badge/JavaScript-operator-F7DF1E.svg?logo=javascript&style=for-the-badge