web-feature: Array splice()

baseline logo Widely available

The array splice() method changes an array in-place. You can use it to delete items, overwrite items, or insert items, starting from an index.