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
- Arithmetic Operators ( +, -, *, /, --, %, ++ )
- Comparison Operators ( ==, !=, >, <, >=, <= )
- Logical Operators ( &&, ||, ! )
- Bitwise Operators ( &, |, ^, ~, <<, >>, >>> )
- Assignment Operators ( =, +=, -=, *=, /=, %= )
- Miscellaneous Operator ( ?: )
- Typeof Operator