JavaScript MCQ : JS Operators (Multiple Choice Questions)


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