Home  >  Article  >  Web Front-end  >  What is the code that is not equal to and how to write it in javascript_Basic knowledge

What is the code that is not equal to and how to write it in javascript_Basic knowledge

WBOY
WBOYOriginal
2016-05-16 17:06:232764browse

!=
!==
The former does not consider the type, the latter requires that the comparison objects are of the same type and have the same value

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn