InJavaScript in Plain EnglishbyTech Mentor·Nov 22, 2025Javascript ClosuresA closure allows a function to access variables that were defined outside of it. The closure is created when an inner function captures…
Ashish Makwana·Sep 12, 2025Decoding JavaScript “this” in 9 Different Scenarios: What “this” Refers To and WhyThe behavior of “this” keyword in JavaScript is one of the most confusing topics for JS developers. The confusion comes from the…
Rajnish Tripathi·Jun 26, 2025Day 3 — Hoisting, Scoping, Shadowing, and the Call StackWelcome to Day 3 of my 30-day JavaScript Journey. Today, we go deep into how JavaScript thinks — how it manages variables, memory, and…
Rahul Sajwan·Dec 25, 2024Closures and Lexical Scope in JavaScriptIn JavaScript, two key concepts often discussed together are closures and lexical scoping. These concepts are crucial for understanding how…