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