Learning JavaScript? Download my free JavaScript Handbook 🔥

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.

Found a typo or problem? Edit this page