(async () => { | |
const result = await Promise.resolve('value'); | |
console.log(result); // 'value' | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(async () => { | |
const result = await Promise.resolve('value'); | |
console.log(result); // 'value' | |
})(); |