SameValueZero
SameValueZero is a comparison algorithm used in JavaScript, primarily within the `Map` and `Set` data structures, and the `Array.prototype.includes()` method. It's designed to determine if two values are the same, with specific handling for certain edge cases.
Unlike strict equality (`===`), which treats `NaN` as not equal to itself, SameValueZero considers `NaN` to be
Another distinction from strict equality is how it handles `-0` and `+0`. Strict equality considers these two
In summary, SameValueZero provides a consistent way to compare values, ensuring that `NaN` is always considered