Y
Hacker News
new
|
ask
|
show
|
jobs
by
dorgo
1889 days ago
I wonder why they decided to use -1. Why not undefined or NaN or even null? The -1 produces bugs which go unnoticed for a long time.