How JavaScript Works 🔥 & Execution Contex Flashcards
1
Q
Where does everything happens in javascript?
A
In the execution context.
2
Q
How can the execution context be seen?
A
As a box where all the javascript is executed.
3
Q
What are the components of the execution context?
A
Memory component and code component.
4
Q
What is the other name for Memory Componet?
A
Variable enviroment
5
Q
How are the variables and functions store in the Memory Component?
A
As pair of Key:value
6
Q
What is the other name for Code Component?
A
Thread of Execution
7
Q
How is the code executed in the Thread of Execution?
A
One line at a time
8
Q
What does it mean that javascript is a synchronous single-threaded language?
A
It means that it can only execute one comand a at time and in a specific order.