Referal link: https://medium.com/@bluepnume/learn-about-promises-before-you-start-using-async-await-eb148164a9c8 Understand promises before you start using async/await With Babel now supporting async/await out of the box, and ES2016 (or ES7) just around the corner, more and more people are realizing how awesome this pattern is for writing asynchronous code, using synchronous code structure. This is a good thing™, and ought to improve code quality a whole lot. However, what a lot of people may have missed is that the entire foundation for async/await is promises . In fact every async function you write will return a promise, and every single thing you await will ordinarily be a promise. Why am I emphasizing this? Because so much javascript written today is written using the callback pattern, a lot of people just never got on the promise bandwagon, and they’re missing an important part of the async/await puzzle. What even is a promise? I’ll keep this b...