Possible Duplicates:
Which equals operator (== vs ===) should be used in JavaScript comparisons?
What is the difference between != and !== operators in JavaScript?
Look at this commit:
Is != the same as !== in JavaScript?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They are subtly not the same.
!=checks the value!==checks the value and typeIn the previous example. The first half of the expression is a string, the second half is an integer.