Operators in JavaScript
JavaScript operators are symbols or keywords used to perform operations on values and variables. They are the building blocks of JavaScript expressions and can manipulate data in various ways.
Types of Operators
- Assignment operators
- Comparison operators
- Arithmetic operators
- Bitwise operators
- Logical operators
- BigInt operators
- String operators
- Conditional (ternary) operator
- Comma operator
- Unary operators
- Relational operators
Now,we are going to disscuss mainly about five Operators:
1.Arithmetic Operators
Arithmetic operators are used to perform arithmetic operations on the operands. Here is a list of operators that are known as JavaScript arithmetic operators:
2.Comparison Operators
The JavaScript comparison operator compares the two operands. The comparison operators are as follows:
3.Bitwise Operators
The bitwise operators are used to perform bitwise operations on operands. Here is a list of bitwise operators:
4.Logical Operators
Logical operators are mainly used to perform the logical operations that determine the equality or difference between the values. The list provides all the JavaScript logical operators:
5.Assignment Operators
The Assignment operators are used to assign values to the operand. The following operators are known as JavaScript assignment operators:





Top comments (0)