event loop Flashcards

1
Q

What is the JavaScript Event Loop?

A

JS runtime responsible for executing the code, collecting and processing events, and executing queued sub-tasks

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

non-blocking languages (like JS) execute code without waiting for the previous code to finish executing

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