re: Sanity Tip For JavaScript Devs: Learn to Run Asynchronous Functions in VIEW POST

re: Why not just use an old-school for-loop? Easy-peasy, problem solved and my promises resolve in the order I call them; unlike Promise.all()... Genu...

I'm not sure if you're asking why use map over for-loops but if you are, checkout out this post. You can scroll down to the "Benefits of map over for loops" section.
I use Promise.all when the order of my async functions to be resolved is not important but I need them all to be resolved before I can go on.

code of conduct - report abuse