Difference between == and === in JavaScript [duplicate]

This question already has answers here: Which equals operator (== vs ===) should be used in JavaScript comparisons? (48 answers) Closed 2 years ago. What is the difference between == and === in JavaScript? I have also seen != and !== operators. Are there more such operators? 2 Take a look here: http://longgoldenears.blogspot.com/2007/09/triple-equals-in-javascript.html The 3 … Read more

Which equals operator (== vs ===) should be used in JavaScript comparisons?

This question’s answers are a community effort. Edit existing answers to improve this post. It is not currently accepting new answers or interactions. I’m using JSLint to go through JavaScript, and it’s returning many suggestions to replace == (two equals signs) with === (three equals signs) when doing things like comparing idSele_UNVEHtype.value.length == 0 inside … Read more