Meghana S Kmeghanask.hashnode.dev·Apr 2, 2024Scope in JavascriptWhat exactly is the scope? Why do we need it? Scope determines the accessibility/usage of variables, functions and objects from different parts of the code. Before diving into its types, there is a term called lexical scope. Let's try to understand t...Discussvariable accessibility
Likitha Uppalaliki.hashnode.dev·Mar 15, 2024Lexical Scope and Closures in JavaScriptIn the world of web development, understanding the concept of lexical scope and closures in JavaScript is like unlocking a secret language. These fundamental concepts play a critical role in how JavaScript code executes and can greatly impact the eff...Discussjs
Vijaya Shreevijayashree.hashnode.dev·Mar 11, 2024Scope Chain & Lexical EnvironmentScope : Scope is one of the most important JavaScript concepts. It helps us to understand other concepts such as closures and lexical environment. There are two types of scopes : Global scope Local scope (Block and function scope) Global scope : ...Discusslexical scope
Ricardo Rocha // 👨💻bittonic.hashnode.dev·Jan 15, 2024💥 Cracking the 'this' Code in JavaScriptIn JavaScript, when we mention this, we're talking about what's happening at the moment. The value of this is a bit like a shape-shifter, and it changes based on how you call a function or use an object. So, here are the main rules that rule the game...Discuss·10 likesJavaScript
Shefalidevshefali.hashnode.dev·Jan 9, 2024Lexical Scope and Closures in JavaScriptIn JavaScript, Lexical Scope and Closures are used to manage variables and functions. But sometimes these two topics can be confusing😕. In this post, you'll learn about closures and lexical scope with code examples. Let's jump right into it!🚀 Lexic...Discuss·34 likes·111 readswebdevelopment
Ricardo Rocha // 👨💻bittonic.hashnode.dev·Jan 8, 2024🔍 Demystifying JavaScript Lexical ScopeHey fellow coders! 🚀 Let's talk about something cool in the JavaScript world – lexical scope! 🤓 So, what's the deal with lexical scope, you ask? Well, buckle up because it's a concept that can make your coding life a whole lot easier. What is the l...Discuss·10 likesJavaScript
Ekaterine (Catherine)ekaterine-mitagvaria.hashnode.dev·Oct 1, 2023What is Lexical Scope in JavaScript?Lexical scope aka static scope is something you will hear about many times during your JavaScript journey and it’s important to understand what it means exactly. If you have not already, make sure to also read my post about variable declarations to u...Discuss·52 readsJavaScript
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...Discuss·74 likes·193 readsJavaScript FundamentalsJavaScript
Lim Woojaejaylog.hashnode.dev·May 22, 2023[JavaScript] Mastering Scope - for BeginnersIntroduction When I just started learning how to write code, the scope was very confusing and difficult to understand. However, It is essential to understand the scope and know how to determine whether you can access a certain variable or function. W...Discuss·11 likes·97 readsJavaScriptJavaScript
Sudhakar Patilbrainybloom.hashnode.dev·Mar 25, 2023All about Arrow functions in JavascriptWhat are Arrow functions? Arrow functions in JavaScript are a shorter way of writing functions. They were introduced in ES6 (ECMAScript 2015) and provide a more concise syntax compared to traditional function expressions. The basic syntax of an arrow...Discuss·90 readsJavaScript