Mutating An Array During .forEach() Iteration In JavaScript