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

[] as evaluated (an array literal) is truthy not falsy. Are you thinking of a context in which it is implicitly coerced to string?



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

Search: