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

An unusual little feature is that assignment returns the old value of the target, e.g. a = b returns the old value of a, so that a = b = a just swaps the contents of a and b.


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

Search: