JavaScript MCQ : JS Operators (Multiple Choice Questions)
Question 1 |
Which of the following is not an logical operator ?
&& | |
! | |
| | |
|| |
Question 2 |
Which of the following operator is used to concatenate two strings.
Dot | |
Comma | |
Plus | |
Arrow |
Question 3 |
What type of value gets printed if we add following two variables .
var a = "1"; var b = 5;
Text | |
Integer | |
Long | |
Number |
Question 4 |
"++" is __________ type of operator.
None of these | |
Ternary | |
Binary | |
Unary |
Question 5 |
"++" can operate only on ________________.
Text | |
None of these | |
Variables | |
Constants |
There are 5 questions to complete.