Q. Among the following, which one is a ternary operator?
β
Correct Answer: (D)
?:
Explanation: JavaScript supports one ternary operator, the conditional operator ?:, which combines three expressions into a single expression.