About “this” in javascripts

This sentence helped me to understand “this” in javascripts:
“Methods always receive a free arguments, bound in the function scope as ‘this’, which refers to the object the method was invoked from.”

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment