IIFEs are a concept not really well known in other programming languages, yet they've been quite common in js, especially when working with closures. however, as of const and let they mostly lost their right to exist :D
I think requiring the use of async was the only time I've ever used an IIFE in the past couple of years. Was never a fan of the pattern, and with top level await I may never use it again :)
16
u/DerGernTod May 28 '19
IIFEs are a concept not really well known in other programming languages, yet they've been quite common in js, especially when working with closures. however, as of
constandletthey mostly lost their right to exist :D