.toSpliced()
Term side of the Card
Topic: Array
Unit title: .toSpliced()
Categories: Method
Explanation side of the Card
Explanation: The method that returns a new array by removing, replacing or adding elements based on the original. It starts at a specified position and can remove a certain number of elements while optionally replacing them with new elements. The original array remains unchanged.
Browser compatibility:
- The chrome browser supports this feature starting from version 110
- The edge browser supports this feature starting from version 110
- The firefox browser supports this feature starting from version 115
- The safari browser supports this feature starting from version 16
Availability: