Showing posts with label equality-operator. Show all posts
Showing posts with label equality-operator. Show all posts

Sunday, May 27, 2012

JavaScript === vs == : Does it matter which "equal' operator I use?


I'm using JSLint to go through some horrific JavaScript at work and it's returning a huge number of suggestions to replace == with === when doing things like comparing idSele_UNVEHtype.value.length == 0 inside of an if statement.