JavaScript operator

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

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

We can classify operators according to the operators used.

Most operators use 2 operands:

Some operators use 1 operand:

  • Increment (++)
  • Decrease (--)
  • Unary negation (-)
  • One dollar plus sign (+)
  • Logically not (!)
  • new
  • delete
  • typeof
  • await
  • ThisSpread operator

Only one operator can handle 3 operands:Ternary operator.

Download mine for freeJavaScript beginner's manual


More js tutorials: