EVENT LOOP Flashcards

1
Q

What is the JavaScript Event Loop?

A

The event loop pushes code from the task queue when the stack is empty

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

What is different between “blocking” and “non-blocking” with respect to how code is executed?

A

Blocking code that is slow because it goes one by one therefore blocking code form the call stack

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