Utkarshblogs.utkarshrajput.com·Nov 11, 2024Part 1: Execution Context - The core of JavascriptIntroduction JavaScript’s Execution Context is foundational yet complex concept for understanding how JavaScript runs your code. If you aim to write performant, error-free code and debug complex applications, mastering Execution Context is crucial. I...Discuss·11 likes·30 readsJavaScript
Shubham Khanshubhamkhan.hashnode.dev·Oct 6, 2024Explained the Secrets of JavaScript Hoisting: Avoid Common PitfallsIf you've just started learning JavaScript, you may have encountered confusing issues like variables showing up as undefined or mysterious ReferenceError messages. This might be due to a concept called "hoisting." But what is hoisting, and how does i...DiscussHoisting
Vitthal Korvanvitthal-korvan.hashnode.dev·Oct 3, 2024Hoisting and ClosuresHoisting in JavaScript: Hoisting is a JavaScript mechanism where variables and function declarations are moved ("hoisted") to the top of their scope (global or function scope) before the code execution. This means that regardless of where variables a...Discuss·1 likeAdvanced JavaScript and DOMHoisting
Vardan Hakobyanvardan.hashnode.dev·Sep 30, 2024Understanding JavaScript hoisting: Functions and variables with the same nameHow does hoisting work when you declare function and variable with the same name in JavaScript? Which one takes precedence? Variable declaration vs function declaration Test your knowledge: which value will be printed in console — variable, or functi...DiscussJavaScript
Abeer Abdul Ahadabeer.hashnode.dev·Sep 27, 2024Scopes and Hoisting in JavaScript - Comprehensively ExplainedScopes in JavaScript Scope in JavaScript means the area in your code where certain variables or functions can be used or seen. It defines where you have access to specific values or actions. There are mainly two types of scope in JavaScript: Global ...DiscussJavaScriptJavaScript
Piyush kantbytebybytelearning.hashnode.dev·Sep 8, 2024Demystifying JavaScript Hoisting: How var, let & const Behave1. What is JavaScript Hoisting? Hoisting refers to JavaScript's default behavior of moving declarations (not initializations) to the top of the scope before code execution. Essentially, when the code runs, variable and function declarations are proce...Discusshoisting in js
Fahimul Islamfif.hashnode.dev·Sep 7, 2024Understanding var, let, and const in JavaScriptIntroduction JavaScript is one of the most popular programming languages today, and it has changed a lot over time. When JavaScript was first introduced, var was the only way to declare variables. While it served its purpose, var had some tricky part...Discuss·60 readsJavaScript
Utkarsh Dangarhutkarshdangarh.hashnode.dev·Jul 23, 2024JavaScript Essentials: Hoisting with Var, Let, Const and Understanding Temporal Dead ZoneIntroduction JavaScript is a powerful and flexible language, but its quirks can sometimes be challenging for developers to grasp. Key concepts such as hoisting, variable declarations (var, let, const), and the temporal dead zone play a crucial role i...DiscussHoisting
Gaurav Goswamigauravgoswami.hashnode.dev·Jul 22, 2024HoistingWhen you're starting with JavaScript you'll surely bump into something known as hoisting. If you're a beginner, this could be a little tricky as well as confusing because this hoisting thing lets you access a variable even before declaring it and som...Discuss·33 readsJavaScript
Vashishth Gajjarvashtech.hashnode.dev·Jul 13, 2024Chapter 3: Functions and ScopeWelcome back to "Mastering JavaScript"! In Chapter 2, we explored the basics of JavaScript, including variables, data types, operators, and control flow. Now, let's dive into functions and scope, which are essential concepts for writing efficient and...DiscussMastering JavaScriptFunctional Programming