JavaScript operators are special symbols or keywords used to allows the programmer to perform operations on values and variables. They help us do calculations, compare values, assign data, and make decisions in our programs.
This tutorial is divided into 4 parts for easy learning:
-
Arithmetic Operators
-
Assignment Operators
-
Logical Operators
-
Comparison Operators
Example
10 and 5 are operands
'+' is the operator
and Result is 15