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've had so much struggle when I first learned JavaScript because it was used everywhere but without mentioning exactly what that pattern is and how it's used.
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