re: ELI5: Why use a function declaration, expression, or an IIFE in JavaScript? VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Oh, yeah. How could I forget about that?

Also, just a side note, I just realized now that top-level await is essentially a glorified way of writing top-level synchronous code. That's kind of strange... 🤔

code of conduct - report abuse