min() {
    if (this.size() === 0) {
      throw new Error("Queue underflow");
    }
    return this._arr[0].key;
  }
Returns the key for the minimum element in this queue. If the queue is
empty this function throws an Error. Takes `O(1)` time.