Promises in JavaScript
Promises in JavaScript
A promise in JavaScript is like a promise in real life. If you promise to do something, that promise may have actually two result:
Promise is completed (resolved)
Promise is failed (rejected)
For example: If I promise to wr...
yccodes.hashnode.dev3 min read
Semir Teskeredzic
Functional consultant by day, Frontend dev by night
Nice recap of promises in JavaScript. I can recommend You don't know JS: Async & Performance. Kyle really digs deep into asynchrony in JavaScript. Keep up the good work!