Home > Article > Web Front-end > What is the code that is not equal to and how to write it in javascript_Basic knowledge
!=
!==
The former does not consider the type, the latter requires that the comparison objects are of the same type and have the same value