Published Jul 06 2019
Psssst! The 2023 WEB DEVELOPMENT BOOTCAMP is starting on FEBRUARY 01, 2023! SIGNUPS ARE NOW OPEN to this 10-weeks cohort course. Learn the fundamentals, HTML, CSS, JS, Tailwind, React, Next.js and much more! ✨
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:
+
)<
, <=
etc)==
, !==
etc)and
and or
instanceof
in
Some operators work with 1 operand:
++
)--
)-
)+
)!
)new
delete
typeof
await
Just one operator works with 3 operands: the ternary operator.