The new Map and WeakMap classes use Object.is() to determine if two keys are the same (otherwise it would be impossible to use NaN as a key to a map).
Whether this algorithm should have been exposed to users is debatable, but it exists for a good reason.