reset method

void reset([
  1. int n = 0
])

Implementation

void reset([int n = 0]) {
  top = n;
}