Skip to content
RED SAGSkills
easy5 pts · first answer countsjavascriptevent-loop

Sync code runs before promise callbacks

What is the order of the logs?

console.log('A')
Promise.resolve().then(() => console.log('B'))
console.log('C')
Choose one answer