- JavaScript
- Programming
- Variables
Scope, Closure and Lexical Environment
Scope, Closure and Lexical Environment
3 min read
AKAram Khachatryan
250
Everything I have written, newest first.
122 articles
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.
this and bind/apply/call methods in object context in JavaScript
Object property descriptors in JavaScript (writable, enumerable, configurable)
Different ways to create objects in JavaScript
Object.create() vs class syntax in JavaScript