Operators allow you to get one or more simple expressions and combine them to form a more complex expression.

We can classify operators based on the operands they work with. An operand is a simple expression.

Some operators work with 1 operand:

Most with 2 operands:

Just one operator works with 3 operands: the ternary operator.


Download my free JavaScript book!


Pssst! Also check my latest YouTube video