Other JavaScript Operators Used for Expressions
Operator | Description | Example |
---|---|---|
| conditional (ternary) operator. Takes three operands: a condition followed by a question mark (?), then an expression to execute if the condition is TRUE followed by a colon (:), and finally the expression to execute if the condition is FALSE. |
|
| concatenation operator (+) concatenates two string values together, returning another string |
|