In JavaScript, there are two main ways to handle asynchronous code: then/catch (ES6) and async/await (ES7). These syntaxes give us the same underlying functionality, but they affect readability and scope in different ways. In this article, Bret Cameron will show you how one…

» https://www.smashingmagazine.com/author/bret-cameron/ | smashingmagazine.com