Operators MCQ Questions and Answers
Home | Javascript | OperatorsJavascript Operators MCQ Questions and Answers : We provide quiz questions on Javascript Operators where you can learn lots of objective questions with answers and you can also download pdf of javascript.
1) Consider the following snippet code
var string1 = ”123”;
var intvalue = 123;
alert( string1 + intvalue );
The result would be
2) Among the following, which one is a ternary operator?
3) Which of the operator is used to test if a particular property exists or not?
4) What kind of an expression is “new Point(2,3)”?
Primary Expression
Object Creation Expression
Invocation Expression
Constructor Calling Expression
Answer : B Discuss
5) Initialization of variable can be done by writing _____ operator in between variable name and operand value.