A

Admin • 833K Points
Coach

Q. Which array method removes the first element?

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

Explanation by: Admin

shift() removes the first element of an array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.