JavaScript Operators
JavaScript operators are symbols used to execute operations on operands.
In this context, `+` is an arithmetic operator, while `=` is an assignment
operator.
The following are the types of operators in JavaScript.
1. Arithmetic Operators
2. Comparison (Relational) Operators
3. Bitwise Operators
4. Logical Operators
5. Assignment Operators
6. Special Operators
Syntax:
var sum = 10+5;
JavaScript Arithmetic Operators
Arithmetic operators are used to perform mathematical operations on operands.
The operators listed below are known as JavaScript arithmetic operators.
JavaScript Comparison Operators
JavaScript comparison operators are used to compare two operands. The
following are the comparison operators:
JavaScript Bitwise Operators
Bitwise operators perform operations on the individual bits of operands. The following are the bitwise operators:
JavaScript Logical Operators
The operators listed below are known as JavaScript logical operators.
JavaScript Assignment Operators
The operators listed below are referred to as JavaScript assignment operators.
JavaScript Special Operators
The operators listed below are known as JavaScript special operators.
More topic in JavaScript