async / await Playground

Bu Sari’s masak() stops at await and leaves the hearth while the runners go to the market: guess the order it prints, then a real async function in the…

The key idea

await pauses the function, not the program

Try it in this playground