Understanding Promises in Javascript
Javascript is a single-threaded programming language which means two bits of scripts can’t run at the same time, they have to run one after one. JavaScript is threaded in browsers with a lot of other stuff that varies from browser to browser.
In simp...
geeky-sumit.hashnode.dev3 min read