Execution Context

If JavaScript engine sees function. It is going to create an execution context.

JavaScript engine is going to create a global execution context first and execute the code.

with empty JavaScript file, we have this keyword and we have Global Object. using this keyword we can also access global object.

* In browers, Global Object is window.

Global Execution Context

Leave a Reply

Your email address will not be published.