Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kentor
on Oct 3, 2013
|
parent
|
context
|
favorite
| on:
You Can't JavaScript Under Pressure
n % 1 == 0
kirse
on Oct 3, 2013
[–]
Tried that first, but that will fail on the "false" case.
badman_ting
on Oct 3, 2013
|
parent
[–]
It needs a triple-equals, because false == 0, but false !== 0
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: