Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
The this keyword (javascript) (quirksmode.org)
5 points by zeynel1 on Jan 18, 2011 | hide | past | favorite | 2 comments


All very true. A great follow-up would be an article discussing binding functions using Function.prototype.call or Function.prototype.apply.


JS novice question: is it really a copy in the sense of a deep copy or is it a reference to the function that is bound to the object?




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

Search: