---
title: "Discussion on \"Understanding the difference between let, var char and const in JavaScript\" | Hashnode"
description: "Discussion on \"Understanding the difference between let, var char and const in JavaScript\". Understanding the difference between let, var char and const in JavaScript\nLet us begin with understanding var . It is the oldest way to declare variables in JavaScript\nScope of var:\nvar variables are globally as well as function/locally scoped .It m..."
url: "https://hashnode.com/posts/understanding-the-difference-between-let-var-char-and-const-in-javascript/5f564232dbed8a1c56698131"
---

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

Discussion

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

Understanding the difference between let, var char and const in JavaScript Let us begin with understanding var . It is the oldest way to declare variables in JavaScript Scope of var: var variables are globally as well as function/locally scoped .It m...

Sep 7, 2020 · 3 min read · shivamsharma.hashnode.dev  
Read the article

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

## Written by

[Shivam Sharma](https://hashnode.com/@shvmsrma)

@shvmsrma · Hisar,Haryana,India

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

Software Developer

I am Software Developer at ZettaBytes, Bangalore. I mainly work with Javascript.Have some understanding of React.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
