Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've always found == to be very useful when comparing undefined, because undefined == null. It's very rare that I want to treat undefined and null separately (unless one or the other means there was an error earlier).


That's the only reasonable use for ==, IMO.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: