Re:JavaScript Equality Table
by mattdesl on Friday December 26, 2014 @04:36PM
(#8800500)
Well, there is a reason: consistency. ;)
I hate seeing "==" in code because it's rarely clear whether the programmer intends it to coerce or just didn't bother with the third keystroke. So "===" is just enforced everywhere through jshint.
I hate seeing "==" in code because it's rarely clear whether the programmer intends it to coerce or just didn't bother with the third keystroke. So "===" is just enforced everywhere through jshint.