It pops, or removes, the last value in an array and returns that value.