How JavaScript Works 🔥 & Execution Contex Flashcards

1
Q

Where does everything happens in javascript?

A

In the execution context.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How can the execution context be seen?

A

As a box where all the javascript is executed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the components of the execution context?

A

Memory component and code component.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the other name for Memory Componet?

A

Variable enviroment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How are the variables and functions store in the Memory Component?

A

As pair of Key:value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the other name for Code Component?

A

Thread of Execution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How is the code executed in the Thread of Execution?

A

One line at a time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly