Zirak / SO-ChatBot

Other
124 stars 60 forks source link

JavaScript returns -Infinity values as null #244

Closed nhahtdh closed 9 years ago

nhahtdh commented 9 years ago

As seen here http://chat.stackoverflow.com/transcript/message/24688770#24688770

All these commands:

!!> -1/ 0
!!> 1 / -0
!!> - (1 / 0)
!!> Number.NEGATIVE_INFINITY
!!> -1e385

returns null.