Hacker News new | past | comments | ask | show | jobs | submit login

You can't change which list `foo` refers to, though. Only the contents of that list.

`foo` is a reference to a list, and that reference is passed by value.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: