.splice()

Term side of the Card
Topic: Array
Unit title: .splice()
Categories: Method
Explanation side of the Card

Explanation: The method that modifies the contents of an array by removing, replacing or adding elements. It starts at a specified position and can remove a certain number of elements, while optionally replacing them with new elements or inserting new elements at that position.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: