Which values does pop() remove from an array?

The last valueThe first valueA random value

When we use pop() the last value in the array is removed.