Asynchronous JavaScript Callbacks, Promises, and the Event Loop
JavaScript is single-threaded but somehow it handles timers, API calls, and user clicks all at once. How???
CallBacks:
A callback is just a function you pass to another function, to be called later w
asynchrounousjavascript.hashnode.dev6 min read