- Functions
- JavaScript
- Programming
IIFE (Immediately Invoked Function Expressions)
IIFE (Immediately Invoked Function Expressions) – Why was this needed and why we hardly use it now
2 min read
AKAram Khachatryan
190
Everything I have written, newest first.
58 articles
Tagged “programming” ✕IIFE (Immediately Invoked Function Expressions) – Why was this needed and why we hardly use it now
Spread vs Rest operators – how and when to use them
Object Destructuring – how to simplify code
How Promises work, why async/await is more readable
Scope, Closure and Lexical Environment
How the JavaScript Event Loop Works
In this article, we will explore how closures work in async code.
Although closures are a powerful tool, they can sometimes cause memory leaks.
Closure is a very important and powerful concept in JavaScript.