---
title: "Discussion on \"Understanding  var, let and const in JavaScript.\" | Hashnode"
description: "Discussion on \"Understanding  var, let and const in JavaScript.\". Var :\nvar in JavaScript is used to declare global variable. Which can be accessed by any scope means local or global scope. 👍\nAny variable which is declared with the help of var is mutable and can be changed or updated with the time. It can also rea..."
url: "https://hashnode.com/posts/understanding-var-let-and-const-in-javascript/65b8ce3037b69a7ce21a9d42"
---

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

Discussion

# [Understanding var, let and const in JavaScript.](https://codedilsah.dev/understanding-var-let-and-const-in-javascript?utm_source=hashnode&utm_medium=feed)

Var : var in JavaScript is used to declare global variable. Which can be accessed by any scope means local or global scope. 👍 Any variable which is declared with the help of var is mutable and can be changed or updated with the time. It can also rea...

Jan 30, 2024 · 1 min read · codedilsah.dev  
Read the article

-   [#var-let](https://hashnode.com/tag/var-let)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#var-let-const](https://hashnode.com/tag/var-let-const)

## Written by

[Md Dilnawaz Alam](https://hashnode.com/@codedilsah)

@codedilsah · Bengaluru,India

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

Mern Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
