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 _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss