Oliver Hunt (2013-07-12T17:46:10.000Z)
domenic at domenicdenicola.com (2013-07-16T00:29:19.760Z)
On Jul 12, 2013, at 10:19 AM, Mark S. Miller <erights at google.com> wrote: > No. Even if `toInteger` meant "no fractional component", I would still expect it only to return true if there is some specific mathematical integer that the JS number can be said to exactly represent. For the same reason, I think `isInteger(-0)` should be `true` and `isInteger(NaN)` should be `false`. Oh i agree with that, i was making an observation that the behaviour (i think) will confuse people just