3 ms·
Array.prototype.each This is not needed. There's .forEach already.
by bham 17y ago
Array.prototype.each
This is not needed. There's .forEach already.
- dhotson 17y agoOh right.. thanks! For some reason, I had it stuck in my mind that forEach() passed the index rather than the element.