A

Admin • 833K Points
Coach

Q. Which method removes the last element of an array?

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

Explanation by: Admin

pop() removes the last element from an array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.