Adding and removing elements from an array is not that difficult; however, it can be tricky. For the examples we will create in this section, let's consider that we have the following numbers array initialized with numbers from 0 to 9:
let numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];