𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁 𝗢𝗽𝗲𝗿𝗮𝘁𝗼𝗿𝘀 𝗚𝘂𝗶𝗱𝗲
JavaScript operators are symbols. You use them to work with values and variables.
You will use these types:
- Arithmetic
- Assignment
- Comparison
- Logical
Arithmetic operators work with numbers. These numbers are operands. You use them for:
- Addition
- Subtraction
- Multiplication
- Division
- Remainder
- Increment
- Decrement
- Exponentiation
Assignment operators set values for variables. Use shortcuts to write faster:
- Use += to add and assign.
- Use -= to subtract and assign.
Source: https://dev.to/vidhya_murali_5aabe7784bd/operators-in-javascript-50f8