Javascript is a single minded language. Or, more accurately, a single-threaded one. However you probably can’t spend much time on the internet without running into our friend JS — who seems to be doing many, many things at a time. This is because it can do things asynchronously. To understand what it does and how it does it, we need to become familiar with its event loop.
There are a few things that make up the ecosystem of the event loop : or things you need to know.
Let’s’ talk about the call stack.
The Call Stack
JavaScript uses a data structure, which we call the call stack to keep track of every function call that’s made …
Web APIs
Javascript is a single threaded language that has to do things in the order they come in – but also it can do things asynchronously. How? That’s where Web APIs come in.
Web APIs
Javascript is a single threaded language that has to do things in the order they come in – but also …
Leave a Reply