37. The JavaScript event loop
JavaScript is single threaded, that means it can only do one thing at a time.
The JavaScript scheduler is non-preemptive, that means you have control until you voluntarily relinquish it. (Sort of.)
JavaScript is single threaded, that means it can only do one thing at a time.
The JavaScript scheduler is non-preemptive, that means you have control until you voluntarily relinquish it. (Sort of.)