The pop() method of the array does which of the following task ?

The pop() method of the array does which of the following task ? Correct Answer decrements the total length by 1

Arrays have a pop() method (it works with push()) that reduces the length of an array by 1 but also returns the value of the deleted element.

Related Questions

POP is an email-related protocol. What is the full form of POP?