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
Dot
C
Comma
D
Plus
Question 3
What type of value gets printed if we add following two variables .
var a = "1";
var b = 5;
A
Number
B
Integer
C
Text
D
Long
Question 4
"++" is __________ type of operator.
A
None of these
B
Ternary
C
Unary
D
Binary
Question 5
"++" can operate only on ________________.
A
None of these
B
Variables
C
Constants
D
Text
There are 5 questions to complete.