When the switch statement matches the expression with the given labels, how is the comparison done?
Both the datatype and the result of the expression are compared.
Only the datatype of the expression is compared.
Only the value of the expression is compared.
None of the above
Correct Answer : A
How to get a random number between 5 and 9 inclusive?
Which one is not a comparison operator?
var x = 10 + 20 * 5;