Post

I was trying to see what it would take to optimize “a === a” to “true”. One idea was that if “a” is the result of basic arithmetic on integers (w/o division), it would be safe. But it’s not because multiplication/addition may eventually end in Infinity. And that times 0 is NaN.

0 reposts2 likes