Games Node.js Loop Quest The express lane
await pauses one function
An async function hits an await. What happens to the code that called it?
async function task() { console.log('B'); await null; console.log('D');}console.log('A');task();console.log('C');1. Predict the output
Tap the lines in the order you think they print.
- 1…
- 2…
- 3…
- 4…