get(key) {
    const { entry } = this.getEntry(key);
    return entry && entry.value;
  }
Gets the value out of the hash map
Avg. Runtime: O(1)
@param {any} key
@returns {any} value associated to the key, or undefined if there is none.