Functional JavaScript: Five ways to calculate an average with array reduce | Hacker News Reader