Among the following, which one is a ternary operator?
+
:
–
?:
Answer : D
View More Related Question
1) Among the following, which one is a ternary operator?
2) What kind of an expression is “new Point(2,3)”?
Primary Expression
Object Creation Expression
Invocation Expression
Constructor Calling Expression
View Answer
3) Initialization of variable can be done by writing _____ operator in between variable name and operand value.
4) Which of the operator is used to test if a particular property exists or not?
5) Consider the following snippet code
var string1 = ”123”;
var intvalue = 123;
alert( string1 + intvalue );
The result would be