Y
Hacker News
new
|
ask
|
show
|
jobs
by
kuschku
3557 days ago
Because there is many ways NaN can be generated, all very different.
== is only defined for numbers, too.
1/0 and 50/0 aren’t the same, for example.