the event loop Flashcards

1
Q

What is the JavaScript Event Loop?

A

Ordering that JavaScript executes functions that makes up for JavaScript’s single threaded process. It does so in a queue

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 would require other functions to wait before they can be executed. Non-blocking does not hold up the line and returns an error if the operation cannot be done immediately.

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