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

That's a user error because there very much is something wrong with the language. The error is that it deals in truthy and falsy rather than a strict true^false dichotomy. So 1 is just as truthy as 2 is. And -234123 for that matter.



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

Search: