What is a Ternary Operator? Ternary Operator in Javascript is a special operator which has three operands. In JavaScript, there is only one such operator, and that is the Conditional Operator or the Question Mark Operator( ?: ) This operator is used ...

Markdown supported · ⌘↵ to post
No responses yet.