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