# Adding and Removing Items

Grow and shrink an array as things change, adding and removing items at the end with push and pop, at the front with unshift and shift, and in the middle with splice.

![Cheat sheet: Adding and Removing Items](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/a46c54bfaf524a0eb5a932dc7735a774.webp)

- Category: JavaScript
- Level: Apprentice
- Tags: const (javascript), JavaScript, pop() (javascript), push(), shift(), splice(), unshift()
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/javascript-arrays-adding-and-removing-cheat-sheet
