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.

Most operators work with 2 operands:

Some operators work with 1 operand:

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

Download my free JavaScript Beginner's Handbook, and check out my premium React/Vue/Svelte/Node/Next.js courses!