Skip to content
RED SAGSkills
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)
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions