---
title: "Discussion on \"Mastering the Differences Between let and var in JavaScript\" | Hashnode"
description: "Discussion on \"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..."
url: "https://hashnode.com/posts/mastering-the-differences-between-let-and-var-in-javascript/6639060d456bfe841347144e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mastering the Differences Between let and var in JavaScript](https://aryankesharwani.hashnode.dev/mastering-the-differences-between-let-and-var-in-javascript?utm_source=hashnode&utm_medium=feed)

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

May 6, 2024 · 2 min read · aryankesharwani.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#let-and-const](https://hashnode.com/tag/let-and-const)
-   [#what-is-the-difference-between-let-var-and-const-in-javascript](https://hashnode.com/tag/what-is-the-difference-between-let-var-and-const-in-javascript)
-   [#when-to-use-var-and-let](https://hashnode.com/tag/when-to-use-var-and-let)
-   [#difference-between-let-var-and-const](https://hashnode.com/tag/difference-between-let-var-and-const)

## Written by

[Aryan Kesharwani](https://hashnode.com/@aryankesharwani04)

@aryankesharwani04 · Kanpur, India

  
[View profile](https://hashnode.com/@aryankesharwani04)

Student @PSITKANPUR

A team oriented problem solver pursuing Bachelor's degree in B.Tech.(CSE). Seeking for a position of MERN Developer as a intern.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
