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.

Updated

Cheat sheet: Adding and Removing Items
Category
JavaScript
Level
Apprentice
Tags
const (javascript), JavaScript, pop() (javascript), push(), shift(), splice(), unshift()