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')What is the order of the logs?
console.log('A')
Promise.resolve().then(() => console.log('B'))
console.log('C')