operation with 3 operands.
Last updated 2 years ago
JS ⟩ statement ⟩ expression ⟩ operator ⟩ ternary
(operator) an operation with 3 operands. table of operators
condition ? a : b // returns a if condition true, b otherwise.
synonyms: conditional operator (?:)
unary operator
binary operator