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

Something like that would be right.

How about: In the example above we create a new variable sally, and make it equal to bill. Both sally and bill now reference the same object in memory. Changes made via one affect both of them.



Awesome, you rock! Officially updated the post w/ the above :)




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

Search: