May 24, 2025 · 13 min read · If you have ever given a javascript interview chances are you have been asked about hoisting and variable scoping. You may know the definition but in order to solve those tricky "guess the output" questions you need to have a deep knowledge about how...
Join discussion
Mar 30, 2023 · 5 min read · Understanding the Basics : As a developer, it's crucial to have a solid understanding of how scoping and hoisting work in JavaScript. These concepts are fundamental to the language and can have a significant impact on the behavior of your code. In th...
Join discussionJan 27, 2023 · 5 min read · We all know that it takes time to really understand JavaScript. But the learning process will be much faster when we write codes with fewer bugs. In this article, we will discuss one concept in JavaScript that people find difficult to understand: Sco...
HHRUTIK commented
Jan 2, 2023 · 3 min read · Introduction Hello all I am here with another blog In this, I am gonna share how scoping allows the programmer to access data from the variable. As I am super familiar with python programming language I faced a lot of confusion while learning JS vari...
NMd commented
Nov 1, 2022 · 3 min read · Scope refers to the availability/accessibility of variables. For illustration, suppose we have two scopes that are given below. //their scope { //your scope } In general, if a variable defined inside your scope , you can’t access it outside their sc...
Join discussion