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

Agreed. But what is the point of declaring the item variable? Wouldn't "for (var i = 0; a[i]; i++)" mean the same thing, but more concise?



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

Search: