News for hackers. Stuff that matters.
Re:JavaScript Equality Minesweeper by thatswrong0 on Monday September 17, 2018 @10:21AM (#18006154)
I only ever use == to do “x == null”, to check if x is undefined or null, but not any other falsey value like 0.
Re:JavaScript Equality Minesweeper by platz on Monday September 17, 2018 @11:00AM (#18006526)
that is the only good and handy use of it, yes.