EXECUTION CONTEXT || BASICS OF JAVASCRIPT
JavaScript A lot of people struggle to understand the odd behaviour of javascript. To know Javascript a bit more, we will try to dig deep into its basic. Here in this post, we will cover Execution Context. This will help you and make your understanding more clear as to how your code get executed by javascript engine. Execution Context Whenever you run your code, its executed under an Execution Context. By default Global Execution Context is created by javascript engine for you and all your code get executed in it. Global Execution has Global object, a special variable 'this' and a reference to its outer environment. It also setup space for your functions and other local variables.