Utilizing Array.prototype.reduce to replicate common Array methods in JavaScript | Hacker News Reader