constructor() {
    this._equalsFn = ArbitraryEqualityMap.deepEquals;
    /** @type {Array<{key: *, value: *}>} */
    this._entries = [];
  }
@fileoverview This class is designed to allow maps with arbitrary equality functions.
It is not meant to be performant and is well-suited to use cases where the number of entries is
likely to be small (like computed artifacts).