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

So many new guides to `this` in the comments here. Not sure why this blog post exists either. I agree with most people that JS is confusing to people who are used to OOP programming in Python or Ruby, and that "this" is one of the most confusing parts. The best resource I've found is https://bonsaiden.github.io/JavaScript-Garden/#function.this . Free, online, concise, accurate.


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

Search: