Which of the following is a JavaScript array method for removing elements from an array and replacing them with new elements?
A. pop()
B. push()
C. splice()
D. unshift()
Answer:C
Which of the following is a JavaScript array method for removing elements from an array and replacing them with new elements?
A. pop() B. push() C. splice() D. unshift()