peek method

dynamic peek()

Implementation

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