If we want to delete items from an array, we can use the splice method that all arrays have. Let's look at how it works.