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

I could never remember this until someone told me to imagine that an array is like a row of chairs at a cinema.

"Shift" will shift everyone up one, bumping someone off the start of the row.



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

Search: