---
title: "Discussion on \"Difference Between var, let and const in Javascript.\" | Hashnode"
description: "Discussion on \"Difference Between var, let and const in Javascript.\". Introduction\nIn JavaScript, there are three keywords that you can use to declare variables: var, let, and const. Each of these keywords has a specific purpose, and it's important to use the right one in the right situation to avoid any potential issu..."
url: "https://hashnode.com/posts/difference-between-var-let-and-const-in-javascript/639b1b8f7ef99a22562b165d"
---

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

Discussion

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

Introduction In JavaScript, there are three keywords that you can use to declare variables: var, let, and const. Each of these keywords has a specific purpose, and it's important to use the right one in the right situation to avoid any potential issu...

Dec 15, 2022 · 2 min read · goldar.hashnode.dev  
Read the article

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

## Written by

[Raj Goldar](https://hashnode.com/@Goldar)

@Goldar

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

Senior Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
