Hacker News new | ask | show | jobs
by megous 1491 days ago
Same issue applies if you mutate array you're iterating over during iteration using those Array.prototype functions. This is just a general issue with any data structure.