diff --git a/src/threads.js b/src/threads.js index 0d8242ef..72237b3b 100644 --- a/src/threads.js +++ b/src/threads.js @@ -2464,7 +2464,7 @@ Process.prototype.reportTypeOf = function (thing) { if (thing instanceof List) { return 'list'; } - if (parseFloat(thing) === +thing && !isNaN(+thing)) { // I hate this! -Jens + if (parseFloat(thing) === +thing) { // I hate this! -Jens return 'number'; } if (isString(thing)) {