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
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.