Hacker News new | past | comments | ask | show | jobs | submit login

Yes, or you can use ===, which will check the type as well. I am trying to get in the habit of using === everywhere now.



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

Search: