Devtools Tech Logo
0
0
0

How the comparison happens with switch cases in JavaScript?

Option 1
Both the expression's value and datatype are matched
Option 2
Only the datatype of the expression is compared
Option 3
Only the value of the expression is compared
Option 4
None of the above