re: What is IIFE in JavaScript? VIEW POST

VIEW FULL DISCUSSION
 

Another very common reason to use this is with async/await, since await doesn't work globally, only under an async function.

code of conduct - report abuse