Y
Hacker News
new
|
ask
|
show
|
jobs
by
jwilk
3077 days ago
It's a joke. And yeah, it gives wrong answers for some numbers.
BTW, JS has unary minus, so you can write:
x = -x