---
title: "Discussion on \"Var, Let, and const – What's the Difference?\" | Hashnode"
description: "Discussion on \"Var, Let, and const – What's the Difference?\". In this article, I will cover the differences between var, let and const. Before ES6 you could only use var to define the variables. So, what are three different ways to define variables and what's the difference between in these?\n\nBefore we understa..."
url: "https://hashnode.com/posts/var-let-and-const-whats-the-difference/612ac3d12858872661b9a227"
---

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

Discussion

# [Var, Let, and const – What's the Difference?](https://manpreets.hashnode.dev/var-let-and-const-whats-the-difference?utm_source=hashnode&utm_medium=feed)

In this article, I will cover the differences between var, let and const. Before ES6 you could only use var to define the variables. So, what are three different ways to define variables and what's the difference between in these? Before we understa...

Jun 29, 2022 · 2 min read · manpreets.hashnode.dev  
Updated Jun 29, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Manpreet singh](https://hashnode.com/@ManpreetS)

@ManpreetS

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
