#javascript #async #await #promises #generators #fundamentals 12 min read async/await in JavaScript - how a function can wait without blocking the thread