0 votes
in JavaScript by
Which one of the following is an ternary operator:

a) ?

b) :

c) -

d) +

1 Answer

0 votes
by

Answer: A

Reason: In JavaScript, only one ternary operator is supported, known as the conditional operator, which combines three different expressions into one expression. However, the conditional operator can also be used in place of the "if else" statements as well.

...