---
title: "Discussion on \"Difference between var, let and const\" | Hashnode"
description: "Discussion on \"Difference between var, let and const\". What is var,let and const?\nIn simple words we can  say that,  var let and const are used to declare a variable in javascript. Earlier before ECMA SCRIPT 6, we only had var in javascript to declare a variable but after the release of ES6, many new fea..."
url: "https://hashnode.com/posts/difference-between-var-let-and-const/62c6e725353b847f29e88f0b"
---

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

Discussion

# [Difference between var, let and const](https://malikshoeb07.hashnode.dev/difference-between-var-let-and-const?utm_source=hashnode&utm_medium=feed)

What is var,let and const? In simple words we can say that, var let and const are used to declare a variable in javascript. Earlier before ECMA SCRIPT 6, we only had var in javascript to declare a variable but after the release of ES6, many new fea...

Jul 7, 2022 · 5 min read · malikshoeb07.hashnode.dev  
Read the article

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

## Written by

[Shoeb Malik](https://hashnode.com/@malikshoeb007)

@malikshoeb007

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

## Responses 1

Markdown supported · ⌘↵ to post

[Praise Idise](https://hashnode.com/@Kevwe)

[Jul 8, 2022](https://hashnode.com/posts/difference-between-var-let-and-const/62c6e725353b847f29e88f0b/comment/62c80750e62bf98e0fb04fc2)

This was really helpful

[Shoeb Malik](https://hashnode.com/@malikshoeb007)

[Aug 26, 2022](https://hashnode.com/posts/difference-between-var-let-and-const/62c6e725353b847f29e88f0b/comment/62c80750e62bf98e0fb04fc2#reply-6308c6af38843b71397828e5)

Thank you!
