HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by kentor | Hacker News Reader
Parent
Full thread
kentor
·
n % 1 == 0
View on HN
kirse
·
Tried that first, but that will fail on the "false" case.
badman_ting
·
It needs a triple-equals, because false == 0, but false !== 0
Reply on news.ycombinator.com