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

You might want the element at "position" 0 though (which with the origin at -2 would be the 3rd element). E.g. treat the array index as a coordinate in a 1D coordinate system with user-defined origin.


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

Search: