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.

Edit this page


Here's my latest YouTube video. I talk about why I think that dogs are a great help for developers working remotely: