Rahul Das Sarmarahulds.hashnode.dev·Feb 21, 2024Lexical EnvironmentDelving into JavaScript programming often introduces the concept of "lexical environment." While it may initially appear daunting, fret not! In this blog post, we'll demystify what lexical environment means in simple terms and explore its practical i...lexical environment
Mariya Zaverimariyazaveri.hashnode.dev·Jul 28, 2023Understanding Lexical Scope and Closure in JavaScriptClosures were a rather daunting topic when I first got started with JavaScript. My hope for this article is for you to be able to appreciate the beauty of JavaScript functions and closures. The story of Lexical scope, scope chain and closures… Once u...74 likes·205 readsJavaScript FundamentalsJavaScript
Aakarsha Shettyaakarsha-kodthiwada.hashnode.dev·Feb 14, 2023Why do we need "Arrow Functions"?A Function in JavaScript is a block of code designed to perform a particular task. functions allow the developers to break the code into smaller or simpler components as a result, we can write once and use it several times instead of repeating the co...1 likeJavaScript
Areeb Sirajareebsiraj007.hashnode.dev·Sep 10, 2022JavaScript Interview CheatsheetScope The scope is the current context of execution in which values and expressions are "visible" or can be referenced. If a variable or expression is not in the current scope, it will not be available for use. In simple words, a variable’s scope is ...iwritecode
Koushik Sahaksaha.hashnode.dev·Sep 10, 2022Lexical Scope in JavaScript 🙂Lexical scope is the ability for a function scope to access variables from the parent scope. We call the child function to be lexically bound by that of the parent function. The ability of inner function to access outer function element or parent ele...1 like·33 readsiwritecode