Adding an item to an array is something you’ll do hundreds of times a week in JavaScript. The method you pick depends on two questions: where should the new item go, and should the original array change or should you get a new one? TL;DR Add to the end: push(), the fastest and most common […]
No Comments Read more


