Axel Rauschmayer (2013-12-22T06:00:27.000Z)
The use case for `Object.is()` that I see is to have a version of `===`, as a function, that allows one to detect/search for `NaN`. For that use case, distinguishing +0 and -0 seems problematic (they are equated almost everywhere else). Should they really be distinguished by `Object.is()`?

Axel

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131222/1778eb14/attachment.html>
domenic at domenicdenicola.com (2014-01-03T17:12:23.850Z)
The use case for `Object.is()` that I see is to have a version of `===`, as a function, that allows one to detect/search for `NaN`. For that use case, distinguishing `+0` and `-0` seems problematic (they are equated almost everywhere else). Should they really be distinguished by `Object.is()`?