Code BlocksDrag blocks into the drop zones above4 blocks available
await
async
yield
return
Game Panel
0:000 pts
Level 5 of 6Async/Await with fs.promises
0/1 slots correct
Objective
Await the promise-based readFile so the function pauses until the read completes
Expected Output
Buy milk
Debug says:
fs.readFile from fs/promises returns a Promise, not the file contents directly. Which keyword pauses the function until that promise resolves, giving you the real value?