Alex XelaforAll_About_JSallaboutjs.hashnode.dev·Sep 28, 202401.Variables and DatatypesData Types in JavaScript JavaScript supports several types of data that variables can store. Here are the main ones, along with examples: 1. Numbers Numbers in JavaScript can be either integers or floating-point values. JavaScript treats both as the ...DiscussJavaScript
Mohamedameencoding.hashnode.dev·Jun 7, 2024Var, let and constJavaScript provides three primary ways to declare variables: var, let, and const. While they may seem similar at first glance, each has distinct characteristics and use cases. Each one of these has its own rule, and if you understand them well, it ma...Discusscoding
Aryan Kesharwaniaryankesharwani.hashnode.dev·May 6, 2024Mastering the Differences Between let and var in JavaScriptWe all have a confusion about the difference between two javascript main keywords "let" and "var". Let me clear this to you in the most easy way. So, "let" is something which has his control to himself while "var" is like giving his control to everyo...DiscussJavaScript
Prerana Nawarprecodes.hashnode.dev·Jan 15, 2024Hoisting with let & const vs var in JS and TDZ?Hello, peeps! Today, let's embark on an exploration into the depths of JavaScript's hoisting and examine the complicated world of the Temporal Dead Zone (TDZ). Get ready for some thought-provoking examples that will clarify these ideas. Hoisting: A D...Discuss·47 readsJavascript Fundamentalslet and const
Sushant Chalisesushantwrites.hashnode.dev·Sep 5, 2023Understanding JavaScript Variables: let, var, and const ExplainedIntroduction: Hey there, JavaScript enthusiasts! Today, we're going to dive into the world of JavaScript variables. Think of these as containers for your data, and we have three types: let, var, and const. In this blog post, we'll use plain language ...Discuss·44 readsJavaScript
Dikshya Subedidikshyasubedi.hashnode.dev·Aug 11, 2023Variable in JavaScriptIn JavaScript, variables are used to store and manage data. You can declare variables using the var, let, or const keywords. Starting with ES6 (ECMAScript 2015), it's recommended to use let and const over var for better scoping and immutability, resp...Discussjs
Harsh Pandeytechmaverick.hashnode.dev·Jul 13, 2023Let , var and constHello, everyone! Today, I will discuss the significance of let, var, and const in JavaScript. This topic holds great importance during interviews and can sometimes even perplex seasoned developers. I kindly request all of you to buckle up and join me...Discusslet and const
Divy Parekhdivysblog.hashnode.dev·Jun 29, 2023TypeScript Variables and Declarations: Exploring Scoping Rules and Type Inference for Robust Code Development! 📝🔍Introduction: Welcome back to our TypeScript blog series! we'll delve into TypeScript variables and declarations. Understanding how variables are declared, scoped, and how TypeScript infers types can greatly enhance your code development experience. ...DiscussTypeScript
Pulkit Govranipulkitgovrani.hashnode.dev·May 25, 2023Difference Between Var, Let, and Const in JavascriptVar was used since the javascript language was created. Let and Const were introduced to overcome some of the flaws that the var keyword had. In this blog, we will be seeing the difference between var, let & const keywords in Javascript. The basic di...Discuss·2 likes·45 readsJavaScript
Pranay Dwivedipranaydwivedi.hashnode.dev·May 4, 2023All about Var,Let,Const ! JavaScript made simpleJavascript uses three keywords to declare variables which are let, const, Var. Var has been the oldest keyword, before ES6 features were introduced, Var was used to declare variables. Var Var declarations have the global scope or Function Scoped, Wh...Discussvar let const