|
|
|
|
|
by ender7
4179 days ago
|
|
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. |
|