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

Oh right.. thanks!

For some reason, I had it stuck in my mind that forEach() passed the index rather than the element.




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

Search: