ExamVeda
Login
Home
This question belongs to Javascript Classes And Modules
Classes and Modules
?

Why does JavaScript subset disallow == and !=?

Answer & Solution
Correct Answer: Option B
The subset does not include the comma operator, the bitwise operators, or the ++ and — operators. It also disallows == and != because of the type conversion they perform, requiring use of === and !== instead.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.