Among the following, which one is a ternary operator?
A
+
B
:
C
–
D
?:
Correct Answer: ?:
JavaScript supports one ternary operator, the conditional operator ?:, which combines three expressions into a single expression. If else case can be replaced by the conditional operator