What does javascript use instead of == and !=?

Đức Lưu

New member
What does javascript use instead of == and !=?
A. It uses bitwise checking
B. It uses === and !== instead
C. It uses equals() and notequals() instead
D. It uses equalto()
 
Answer: b
Explanation: 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.
 

Tìm kiếm

Back
Top