Mutating an Array During .forEach() Iteration in JavaScript | Hacker News Reader