Let's talk about a method that can add, insert, replace and remove values: splice(), which takes two numbers and, after that, a variable number of values.

Wow! The numbers define an index andĀ how many values we want to remove at that index. The optionalĀ values we provide will be added at the index.

Don't we want to call splice on the array here?