Zakeer Hussain SyedforFullstack Institutefullstackinstitute.hashnode.dev·Apr 23, 2024JavaScript Variables: Master var, let, & const for Cleaner CodeWhat are variables and why do we need them? Variables are like containers in your computer's memory that hold data. Imagine them as labeled boxes where you can store different items (numbers, text, etc.). They're essential for building dynamic progra...Discuss·1 like·37 readsjavascript variables
Abhishek Dandriyalabhishek-dandriyal.hashnode.dev·Apr 8, 2024Javascript Scope: Var, Let and ConstVariable shadowing: In JavaScript, variable shadowing occurs when a variable with the same name as a variable in a higher scope is declared in a lower scope, potentially causing confusion; let a = 10; if (true) { let a = 20; console.log(a); } ...Discuss·1 likeIllegal shadowing
Sneha Manesneha711.hashnode.dev·Mar 25, 2024Hoisting with let & const vs var in JS and TDZ?Greetings, Glimpse! Today, let’s explore the complex world of the Temporal Dead Zone (TDZ) as we begin to delve into the depths of raising JavaScript. Get ready for some compelling examples to illustrate these concepts. Hoisting: A Deeper Dive To rea...DiscussJavaScript
Ajay Sharmaajaysharma.hashnode.dev·Mar 15, 2024Hoisting in Simple WordsIn simple terms, hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase, before the code is actually executed. This means that you can use a variable or c...DiscussHoisitng
Shivang Yadavshivangyadav.hashnode.dev·Mar 12, 2024Hoisting in JavascriptOne of the most confusing concept in Javascript is hoisting. Understanding hoisting is crucial for writing reliable and maintainable code. What exactly is hoisting? When the browser encounters JavaScript code, it creates a special phenomenon known as...Discuss·1 like·69 readsJavaScript
Jieun Leezeunny.hashnode.dev·Mar 12, 2024JavaScript: 어떤 방식으로 함수 정의하는 것을 선호하세요? - (1)들어가며 인터뷰에서 "어떤 방식으로 함수 정의하는 것을 선호하세요?" 라는 질문을 받은 적이 있다. 그 당시에는 JS에 관한 공부가 부족했기에 정의 방식에 따라 어떤 차이가 있는지 확실하게 알지 못했다. 고로 대답은 했지만 그에 대한 근거가 부족했다. JS를 공부하고 나서 이 질문의 큰 그림을 알게 되었다. 함수 정의 방식에 따라 스코프, 호이스팅, this 등 JS의 다른 개념들이 숨어있었고 그 개념들까지 제대로 알고 있느냐를 판단하기 위한 ...Discuss·61 readsJavaScript
Aaron Jevil Nazarethaarons-space.hashnode.dev·Mar 5, 2024Hoisting in JavascriptIntroduction Javascript is a high level programming language used to build client-side and server-side that allows you to make web pages interactive. It is one of the three core technologies of World Wide Web content production. This was one of my in...Discuss·13 likes·26 readsJavaScript
Reddy Divyathedivyareddyy.hashnode.dev·Mar 2, 2024Hoisting In JavaScriptGreetings, fellow coders👋 Let's get to know the Hoisting in JavaScript. Hoisting Hoisting is a JavaScript mechanism where variables and functions can be accessed even before initializing values without getting errors and this happens during the 1st ...Discuss·1 like·429 readsJavaScriptjavascript hoisting
Ricardo Rocha // 👨💻bittonic.hashnode.dev·Feb 12, 2024💡Unlocking the Secrets: A Conversational Dive into JavaScript VariablesLet's chat 💬 about JavaScript variables – those containers where you stash your data, like a digital backpack for your code. 🤨 What is a variable? Variables are like boxes. You give each box a name (the variable name) and throw stuff (data) inside ...DiscussJavaScript
A R ASHUTOSHoscaroptics.hashnode.dev·Feb 5, 2024Hoisting in JavascriptHoisting basically in hoisting, a variable is called before it is intialised or declared. yeah, there is a difference between initialising a variable and declaring a variable. Hoisting is one of the most famous topic about which interviewers ask. con...Discuss·47 readsJavaScript