Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> No it doesn't. That just gives you the last element, which is not a "based indexing".

I never liked that feature, it has chance to hide bugs in more complicated code where indexes are calculated...

I'd prefer a 'reverse' indexer instead.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: