splice
An array method that removes a number of elements from a start position, changing the array itself, and returns the removed ones. Extra arguments are inserted in their place.
An array method that removes a number of elements from a start position, changing the array itself, and returns the removed ones. Extra arguments are inserted in their place.