A

Admin • 833K Points
Coach

Q. Which method removes elements from an array and can insert new elements?

  • (A) splice()
  • (B) slice()
  • (C) push()
  • (D) pop()
  • Correct Answer - Option(A)
  • Views: 21
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

splice() can add or remove items from an array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.