---
title: "Discussion on \"Difference between var, let and Const in Javascript?\" | Hashnode"
description: "Discussion on \"Difference between var, let and Const in Javascript?\". To understand var, let and const let us first understand what is scope.\nWhat is Scope ?\nScope determines the visibility or accessibility of a variable or other resources in the area of your code.\nGlobal Scope?\nThere's only one Global scope in the Jav..."
url: "https://hashnode.com/posts/difference-between-var-let-and-const-in-javascript/6172df900c5e175a1c614f6b"
---

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

Discussion

# [Difference between var, let and Const in Javascript?](https://hashnode.com/post/difference-between-var-let-and-const-in-javascript?utm_source=hashnode&utm_medium=feed)

To understand var, let and const let us first understand what is scope. What is Scope ? Scope determines the visibility or accessibility of a variable or other resources in the area of your code. Global Scope? There's only one Global scope in the Jav...

Jul 29, 2022 · 4 min read · hashnode.com  
Updated Sep 22, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Swetha Ogeti](https://hashnode.com/@Swetha555)

@Swetha555

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

## Responses 2

Markdown supported · ⌘↵ to post

[Chandan Naskar](https://hashnode.com/@codeMan007)

[Sep 10, 2023](https://hashnode.com/posts/difference-between-var-let-and-const-in-javascript/6172df900c5e175a1c614f6b/comment/64fde80553e92fc339110faa)

This is perfect article for understanding JS variables scope

[Suraj](https://hashnode.com/@surajkumar00)

[Jul 20, 2023](https://hashnode.com/posts/difference-between-var-let-and-const-in-javascript/6172df900c5e175a1c614f6b/comment/64b9110ba884f3de56a262f3)

thanks for this blog Swetha, well written and easy to understand...
