DEV Community

Cover image for Can you answer this simple JS async interview question?

Can you answer this simple JS async interview question?

re4388 on August 01, 2022

See the blow question: const promise = new Promise((resolve, reject) => { console.log(1); resolve(5); console.log(2); ...
Collapse
 
monawwar profile image
Monawwar Abdullah

Thanks for sharing this.
Just to let you know, their are few spelling mistakes of "micro".