filmov
tv
Execution Phase and Variable Object

Показать описание
In the last lecture, we learned how the JavaScript engine manages the execution context inside call stack. In this lecture, you will learn how the execution context is created by JavaScript engine and what does it store.
When a function is called, a new execution context is created and put on top of the currently executing execution context. JavaScript engine creates the execution context in the two phases:
1. Creation Phase
2. Execution Phase
Creation phase is the phase in which the JavaScript engine has called a function, but its execution has not yet started. In the creation phase, JavaScript engine is in the compilation phase and it just scans over the function code in order to compile it. The code is not executed in creation phase.
We can associate an execution context with an object. This object has three main properties.
1. Variable object
2. Scope chain
3. The ‘this’ variable
These three properties of execution context are created during creation phase.
In this lecture, we will mainly focus on creation of Variable object property of execution object.
When a function is called, a new execution context is created and put on top of the currently executing execution context. JavaScript engine creates the execution context in the two phases:
1. Creation Phase
2. Execution Phase
Creation phase is the phase in which the JavaScript engine has called a function, but its execution has not yet started. In the creation phase, JavaScript engine is in the compilation phase and it just scans over the function code in order to compile it. The code is not executed in creation phase.
We can associate an execution context with an object. This object has three main properties.
1. Variable object
2. Scope chain
3. The ‘this’ variable
These three properties of execution context are created during creation phase.
In this lecture, we will mainly focus on creation of Variable object property of execution object.
Execution Phase and Variable Object
Execution context and variable object
21 Execution Contexts in Detail Creation and Execution Phases and Hoisting
Objects and Prototypes In-depth 07 - Function Execution Types
#62 Execution Context & Variable Object | JavaScript Runtime & Engine | A Complete JavaScrip...
Predicting Execution Context Output - Object-Oriented JavaScript
Code Execution Phase | Clip #6 | Understanding Execution Context | Core JavaScript
JavaScript Under The Hood [2] - Execution Context
#64 What is a Scope | JavaScript Runtime & Engine | A Complete JavaScript Course
025 JavaScript - Execution Contexts in Detail Creation and Execution Phases and Hoisting
Execution context and Call Stack
How JavaScript Code is executed? ❤️& Call Stack | Namaste JavaScript Ep. 2
C_06 Execution Process of a C Program | C Programming Tutorials
JavaScript 'this' variable
How does javascript execute code + call stack | chai aur #javascript
Visualise Execution Context | Clip #7 | Understanding Execution Context | Core JavaScript
JavaScript Visualized - Execution Contexts
Scope Chain and Lexical Environment
Creation Phase and Hoisting in Execution context
Software Flowchart
JavaScript Variables Lifecycles: ES6 Const and Let, Var, Functions
JavaScript Execution Context and Call Stack - How JavaScript code gets executed.
How code gets executed in JavaScript? | Lecture 25
Basics of Dynamic Memory Allocation
Комментарии