Q. Which method removes the last element of an array?
β
Correct Answer: (A)
pop()
Explanation: pop() removes the last element from an array.