stringify, node v0.6 and isNaN

26 views
Skip to first unread message

Andrew Eisenberg

unread,
Sep 17, 2013, 7:32:26 PM9/17/13
to js...@googlegroups.com
I just merged my PR for the stringify method.  This includes tests, documentation and change log.  There is one issue that I am seeing right now.  It looks like node v0.6 does not have isNaN as a method and the travis CI build is failing for that version of node. I can try to work around this and avoid using isNaN, but might be better to polyfill. Does anyone know of a good polyfill for isNaN?

Steve Hollasch

unread,
Jan 24, 2014, 3:42:23 PM1/24/14
to js...@googlegroups.com
On Tuesday, September 17, 2013 4:32:26 PM UTC-7, Andrew Eisenberg wrote:
I just merged my PR for the stringify method.  This includes tests, documentation and change log.  There is one issue that I am seeing right now.  It looks like node v0.6 does not have isNaN as a method and the travis CI build is failing for that version of node. I can try to work around this and avoid using isNaN, but might be better to polyfill. Does anyone know of a good polyfill for isNaN?

Simple:

function isNaN(x) { return x != x; }
Reply all
Reply to author
Forward
0 new messages