medium10 pts · first answer countsasync-javascriptpromises
What an async function returns
What does this print?
async function getName() {
return 'Ana'
}
const n = getName()
console.log(n instanceof Promise, typeof n)Discussion 0
Join free to post in the discussion.