Courses / JavaScript
68. Array.prototype.splice()
Changes the contents of an array by removing or replacing existing elements and/or adding new elements.
1 min read Chapter 68 of 99
JavaScript
Array.prototype.splice()
Array.prototype.splice() modifies an array by adding or removing elements.
"I need to update my list of favorite movies without creating a new array."
Array.prototype.splice() changes the contents of an array by removing existing elements and/or adding new ones, all in place.
"I need to update my list of favorite movies without creating a new array."
Array.prototype.splice() changes the contents of an array by removing existing elements and/or adding new ones, all in place.