• Feed
  • Discussions
when to use var and let

when to use var and let

#when-to-use-var-and-let
0 followers·2 articles

when to use var and let

#when-to-use-var-and-let·0 followers·2 articles
when to use var and let
Aryan Kesharwani
Aryan Kesharwani
aryankesharwani.hashnode.dev·May 06, 2024
May 06, 2024

Mastering the Differences Between let and var in JavaScript

We 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...

Discuss·5 reads
JavaScript
Isna Yousuf
Isna Yousuf
isnayousuf.hashnode.dev·Dec 28, 2023
Dec 28, 2023

A closer look at Let, Var and Const in Javascript

In recent years, the release of ES6 (ECMAScript 6) has changed the way we write JavaScript code, introducing three new keywords: let, var, and const. These new keywords allow us to declare variables more efficiently, and it can be confusing to unders...

A closer look at Let, Var and Const in Javascript
Discuss·1 like·10 reads
when to use var and let

Changelog

New steps component and improved accessibility on Hashnode's blog and docs product.

New steps component and improved accessibility on Hashnode's blog and docs product.

Nov 05, 2024·
new

Trending Articles

The Stablecoin Surge: How CryptoXpress Is Leading the Charge Toward Financial Liberation

Naomi Antia Benson·56 reads

The DePIN Revolution: Mapping the World and Earning Onchain with $WIFI.

Patience Uyire·75 reads

CryptoXpress: Because Managing Crypto Shouldn't Feel Like Filing Taxes

Prochino·73 reads

Top commenters this week

Sumayya Irfan
Sumayya Irfan
Taji Abdullah
Taji Abdullah
Rishav
Rishav
Marketer lab
Marketer lab
Deepak Kumar
Deepak Kumar

Writing Challenges

#2Articles1Week Challenge

Become better at technical writing; accept Hashnode's writing challenge for four weeks.

#2Articles1Week Challenge
#WomenWhoTech

Share your story, achievements, or experiences as a woman, non-binary folk in tech or as a #WomenWhoTech ally!

#WomenWhoTech
Self Starter

Publish your first article on Hashnode and become a self starter!

Self Starter
Serial Blogger

Publish an article every day for 7 days and earn a cool serial blogger badge!

Serial Blogger
Talk of the town

Write a story that drives amazing engagement on Hashnode and become the talk of the town!

Talk of the town
Word Warrior

Write an in-depth article on your Hashnode blog that's more than 2000 words and become a word warrior!

Word Warrior