Hacker News new | ask | show | jobs
by jamesfmilne 2591 days ago
concat() does not mutate the array, it creates a new one.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...