Async/await, Promises and Pure Functions
⏳ JavaScript: Async, Promises & More
🤔 Is JavaScript Synchronous?
Yes – JavaScript is a synchronous, single-threaded language. It runs one thing at a time, line by line.
But... we can mimic asynchronous behaviour using:
Callbacks
Promises
Async/A...
olgaconstantina.hashnode.dev3 min read