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

The only part that confused me was that I forgot that Javascript doesn't do implicit-return-on-last-statement, hence was somewhat confused why #2 was different to #1 until I read the answer and facepalmed.


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

Search: