pop method

dynamic pop()

Implementation

pop() {
  return _heappop(this.nodes, this.cmp);
}