I wonder why isn't it `====`. Would be funny.
 
+0 and -0 should be distinguished there. If you don't want them to be, you can always use comparison operators.
 
 
22.12.2013, 10:00, "Axel Rauschmayer" <[email protected]>:
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
 
blog: 2ality.com
 
,

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to