FrontendInterviews.dev

620. await on Non-Promise

Easy•

Predict the output.

async function f() {
  const v = await 5
  console.log(v)
}
f()

What is the correct output/behavior?

Select an option and submit your answer.
Next Problem