Question
The pop() method of the array does which of the following task ?
Answer: Option A
Was this answer helpful ?
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.
Was this answer helpful ?
Submit Solution