What is "This"?

added by JavaScript Kicks
11/12/2018 9:48:18 AM

592 Views

The "this" keyword always refers to an object, but the value of "this" changes depending on where it is called. When a function is called, an execution context is created that contains a reference to "this". Because the value of "this" changes depending on execution context, we can determine the value of "this" by examining the function's call-site, or where it is called.


0 comments