- Modules
- Programming
- JavaScript
What is a module
What is a module in JavaScript and why is it important?
2 min read
AKAram Khachatryan
480
Everything I have written, newest first.
76 articles
Tagged “javascript” ✕What is a module in JavaScript and why is it important?
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.