$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #229

What goes in the blank?

// pause until the promise settles
const data = ____ loadData();

Answer: await (also accepted: await)

await suspends an async function until the promise resolves.
Play Problem Solving ▸