β Fullstack with Vue.jsQuestion 4 of 62
What does an async function return in JavaScript?
π Explanation
By definition, an async function always wraps its return value in a Promise, which is why you need await or .then() to access the actual result. It's not a Callback or Observable, and it doesn't return the raw value directly, so those options don't match how async functions work.
Related questions
β PreviousNo login needed