pop method

dynamic pop()

Implementation

pop() {
  --top;
  return this.items.removeLast();
}