Which built-in method removes the last element from an array and returns that element?

1 Answer(s)

pop() method removes the last element from an array and returns that element.

Supporter Answered on August 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.