DEV Community

Discussion on: What is an IIFE in Javascript?

Collapse
 
lexlohr profile image
Alex Lohr

You could also use an IIAFE (immediately invoked async function expression) to emulate top-level-await.

Collapse
 
guillep2k profile image
Guillermo Prandi

Thank you. I think you should expand your article explaining the uses and the reasons for using it. Otherwise the audience will probably only be the people that already know about your content.

Thread Thread
 
amolshelke2 profile image
Amol Shelke

This is my first blog post and I will definetely expand this post thank you for your comment Guillermo๐Ÿ™‚

Collapse
 
amolshelke2 profile image
Amol Shelke • Edited

actually I'm following the course in which he teach me about IIFE so I just wrote that here I will learn about IIAFE and expand this post as soon as possible