DEV Community

Discussion on: Converting to Asynchronous Code Using IIFEs

Collapse
 
chico1992 profile image
chico1992

To be honest I still don’t get it, if i understand you correctly I should imagine replacing the body of every IIFE with like 20 lines of code
That would amount to 60-80 lines of code inside the Promise.all
Maybe you have a more concrete example to explain