JavaScript: Types of Operators

Profile picture for user arilio666

In javascript, we have operators just like any other programming language. Operators are just another crucial thing to do some basics, let it be arithmetic or logical, and you name it. In javascript, there are some types of operators used for a specific purpose.

JavaScript Operator List

  1. Arithmetic Operators ( +, -, *, /,  --, %, ++ )
  2. Comparison Operators ( ==, !=, >, <, >=, <= )
  3. Logical Operators ( &&, ||, ! )
  4. Bitwise Operators ( &, |, ^, ~, <<, >>, >>> )
  5. Assignment Operators ( =, +=, -=, *=, /=, %= )
  6. Miscellaneous Operator ( ?: )
  7. Typeof Operator