code: function hashChange(entry, url) {
    if (!entry)
      return false;
    const [aBase, aHash] = url.split('#');
    const [bBase, bHash] = entry.url.split('#');
    return (aBase === bBase) && (aHash !== bHash);
  }
docs: Returns true if the hash portion of the URL changed between the history entry (entry) and the new URL we want to inspect (url).