Complete the syntax to pause until `loadUser()` settles.
const user = ___ loadUser();Answer & explanation
Answer: await
`await` pauses the async function until the promise fulfills or throws on rejection.
Practice async javascript with self-contained questions. Check your answer, then use the explanation to understand the reasoning.
const user = ___ loadUser();Answer: await
`await` pauses the async function until the promise fulfills or throws on rejection.