Y
Hacker News
new
|
ask
|
show
|
jobs
by
ectopod
1672 days ago
There are two off-by-one errors. Should be checking value[length-1].