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

But there are only 3 items in the array (for example 1, 2 and 4). So the last valid index is 2.


Ah. I was about to make an edit to my comment as you are correct :) Thanks!




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

Search: