Event Loop and asynchrony in JavaScript
The below image is a very simplified view of the JS engine.
It has two components:
Memory heap – This is where memory allocation takes place.
Call Stack – It’s a stack that keeps track of the function in the script that’s currently executing and ...
adityaprabhat.hashnode.dev7 min read