DEV Community

Discussion on: 7 Hardest Node.js Interview Questions & Answers

Collapse
 
jexah profile image
Jeremy Short

This is not correct, because in your code, both functions will run concurrently, whereas in the original code, they run sequentially.