JavaScript MCQ : JS Operators (Multiple Choice Questions)
Question 1 |
Assignment Operators is following type of operator ______________.
Ternary | |
Binary | |
Unarry | |
None of these |
Question 1 Explanation:
"Assignment Operator" operates on two operands.
Question 2 |
"Add and Assignment" operator is shown by this symbol.
==+ | |
+= | |
=+ | |
+== |
Question 2 Explanation:
x += yis equivalent to -
x = x + y
Question 3 |
Which of the following operators comes under assignment Operator ?Select all possible options.
+= | |
%= | |
== | |
= |
Question 4 |
"===" operator is _______________.
Is identical (is equal to and is of the different type) | |
None of these | |
Is identical (is equal to and is of the same type) | |
Is equal to |
Question 5 |
"+=" operator can operate on following data values.
Float | |
String | |
All Options | |
Integer |
There are 5 questions to complete.