Mark S. Miller (2013-07-12T20:48:51.000Z)
domenic at domenicdenicola.com (2013-07-16T00:32:34.553Z)
On Fri, Jul 12, 2013 at 11:00 AM, Tab Atkins Jr. <jackalmage at gmail.com> wrote: > On the other hand, people (like me) who just want to be able to tell > when something is a freaking integer will be better served by these > semantics. ^_^ I fully agree. It will also help some programmers avoid the mistake I made -- of including 2^53 in their own home-rolled test. >> If we went that direction what should `Number.toInteger` do for values outside that range? For consistency, it should wrap mod 2^53 of course. Just kidding. I have no coherent opinion yet of what it should do. What are the use cases we imagine `toInteger` may be useful for?