IT Services
Flexible solutions make your life simpler
When a function is invoked, the JavaScript interpreter creates what is known as an execution context. This record contains information about where the function was called from (the call-stack), how the function was invoked, what parameters were passed, etc. One of the properties of this record is the ‘this’ reference which will be used for the duration of that function’s execution.