Web platform features explorer

Array splice()

Widely available since 2018-01-29
Tags: javascript Groups: JavaScript > Collections > Arrays

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.

Learning resources on MDN

Browser support

Specifications