JS Promises - The 3 Idiots Way
Lets start with basics :
JavaScript runs in a single thread.
A thread is like a single worker doing tasks one at a time.
In JS, that means only one piece of code executes at a time.
console.log("R
aman-blog-fundamentals.hashnode.dev6 min read