The-Event-Loop Flashcards

1
Q

What is the JavaScript Event Loop?

A

it is the runtime process where asynchronous code is processed and qued to be executed when other code is finished being run.

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 refers to operations that block further execution until that operation finishes while non-blocking refers to code that doesn’t block execution.

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