[NaN].indexOf(NaN) === -1 VS Object.is(NaN, NaN)

Brandon Benvie brandon at brandonbenvie.com
Thu Jun 14 06:22:35 PDT 2012


I don't think an array is the right solution for this particular problem
though. The performance penalty is too much to make it worth it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120614/7b556e47/attachment-0001.html>


More information about the es-discuss mailing list