peek method

dynamic peek()

Implementation

peek() {
  return this.items[this.top - 1];
}