I am pretty new to JavaScript, and I've just started working with .apply()
and other methods that use the keyword this
, and I can tell that this
has something to do with the context in which the function is invoked, but I'd really like to understand what exactly this
is referring to.
The relationship between a particular function invocation and this
looks similar to the relationship between an object and a property/method.
Are these two relationships related in anyway?