What is pop()method in JavaScript?

what is pop()method in JavaScript?

pop() is used to remove the last element of the array.

1 Like