examerioLogin

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