Hacker News new | ask | show | jobs
by bham 6033 days ago

    Array.prototype.each
This is not needed. There's .forEach already.
1 comments

Oh right.. thanks!

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