13.
Which array method is used to remove and/or replace elements in an array?
splice()
concat()
slice()
push()
Correct: A
The splice() method can be used to remove elements from an array by specifying the index position and the number of elements to remove. It can also be used to replace elements by specifying the index position, the number of elements to remove, and the new elements to add. This method modifies the original array.