Brendan Eich (2013-12-23T01:59:09.000Z)
Alex Kocharin wrote:
> Object.is() looks like a perfect function for checking oddballs (-0, 
> NaN) if you want to represent an arbitrary data correctly. In that 
> case distinguishing signed zeroes is a big plus

or absolutely required.

> (making (-0).toString() === '-0' would be better though).

(Not backward compatible -- no one is going to risk this for so little 
gain.)

/be
domenic at domenicdenicola.com (2014-01-06T13:58:42.968Z)
Alex Kocharin wrote:
> `Object.is()` looks like a perfect function for checking oddballs (`-0`, 
> `NaN`) if you want to represent an arbitrary data correctly. In that 
> case distinguishing signed zeroes is a big plus

or absolutely required.

> (making `(-0).toString() === '-0'` would be better though).

(Not backward compatible -- no one is going to risk this for so little 
gain.)