the-event-loop Flashcards

1
Q

What is the JavaScript Event Loop?

A

the JavaScript event loop is the function in the JavaScript environment that controls the task que and allows qued task onto the stack when the stack is clear

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 is code that is slow - it adds blocks to your code that take a long time to remove and slows your code and makes bad UX happen

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