---
title: "Discussion on \"var, let and const in Javascript\" | Hashnode"
description: "Discussion on \"var, let and const in Javascript\". var, let and const are the three keywords which is used before variables.\nvar keyword is used before let and const came into picture.\nvar is function-scoped. This means whenever a variable is created with var in a function, it will only exist within ..."
url: "https://hashnode.com/posts/var-let-and-const-in-javascript/658c207b6e3490cd2730901d"
---

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

Discussion

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

var, let and const are the three keywords which is used before variables. var keyword is used before let and const came into picture. var is function-scoped. This means whenever a variable is created with var in a function, it will only exist within ...

Dec 27, 2023 · 2 min read · snehaks.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#wemakedevs](https://hashnode.com/tag/wemakedevs)
-   [#developer](https://hashnode.com/tag/developer)
-   [#javascript-cikobu60x00mn7453gsb38dqp](https://hashnode.com/tag/javascript-cikobu60x00mn7453gsb38dqp)

## Written by

[Sneha](https://hashnode.com/@sneha812)

@sneha812

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
