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
Arrow
B
Plus
C
Comma
D
Dot
Question 3
What type of value gets printed if we add following two variables .
var a = "1";
var b = 5;
A
Long
B
Text
C
Integer
D
Number
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
Variables
C
Text
D
None of these
There are 5 questions to complete.