Frontend
Interviews
.dev
Problems
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?
5
undefined
TypeError
Promise {5}
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer