Y
Hacker News
new
|
ask
|
show
|
jobs
by
kybernetikos
2917 days ago
javascript:
> 1/(-0) -Infinity > 1/0 Infinity > Object.is(0, -0) false
Of course = doesn't actually test equality in javascript. == reports -0 as being equal to +0, but Object.is reports them as different.
1 comments
earenndil
2917 days ago
See now, I contest this
particular
defense because it groups together 'javascript' and 'good decision'.
link