insert(key, value) {
    const node = new Node(key, value);
    const nodes = this.nodes_;
    nodes.push(node);
    this.moveUp_(nodes.length - 1);
  }
Insert the given value into the heap with the given key.
@param {K} key The key.
@param {V} value The value.