JavaScript equality transitivity is weird
” == ‘0’ // false The left hand side is an empty string, and the right hand side is a string with one character. They are false because it is making a comparison between two un identical strings (thanks Niall). 0 == ” // true Hence, why this one is true, because 0 is falsy … Read more