JavaScript Reduce an Empty Array | Hacker News Reader