|
|
|
|
|
by serve_yay
4176 days ago
|
|
Object.is is a very silly addition to the language. It does the same thing as === except in the case of NaN and positive/negative zero. I mean if you read a polyfill for it, it's such a silly bit of "functionality". And of course the name is terrible. Argh. |
|
Whether this algorithm should have been exposed to users is debatable, but it exists for a good reason.