TLDR Web Dev · ARTICLES & TUTORIALS

INTERNALS OF ASYNC / AWAIT IN JAVASCRIPT

akashhamirwasia.com6 min read

Summary from the TLDR Web Dev newsletter

In JavaScript, async and await are just wrappers over JavaScript’s Promises API. To better understand how these two common keywords work, this article implements async and await in JavaScript from scratch. It provides code examples and explains how these keywords work under the hood, such as showing how generators work.