---
title: "Discussion on \"Difference between var, let and const in JavaScript\" | Hashnode"
description: "Discussion on \"Difference between var, let and const in JavaScript\". The var, let and const are the keyword used to declare a variable in Javascript, var is the old way to declare the variable in Javascript, and the let and const are new and comes into existence in ES6. when\nwe seat for a frontend dev interview, the i..."
url: "https://hashnode.com/posts/difference-between-var-let-and-const-in-javascript/637b398dc634aab054eaead4"
---

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

Discussion

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

The var, let and const are the keyword used to declare a variable in Javascript, var is the old way to declare the variable in Javascript, and the let and const are new and comes into existence in ES6. when we seat for a frontend dev interview, the i...

Nov 21, 2022 · 3 min read · rohitturkar02.hashnode.dev  
Read the article

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

## Written by

[Rohit Turkar](https://hashnode.com/@rohitturkar02)

@rohitturkar02 · India

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

Frontend Engineer

Frontend Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
