A

Admin • 828.03K Points
Coach

Q. Which method adds an element to the end of an array?

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

Explanation by: Admin
push() adds one or more elements to the end of an array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.