---
title: "Discussion on \"Var VS Let VS Const\" | Hashnode"
description: "Discussion on \"Var VS Let VS Const\". What is difference between var,let and const;\nVAR\nIt is a keyword for variable declaration in javascript. It is function scoped\nmeans if you declared a variable inside a block of a  function then it is scoped to whole function not just inside the blo..."
url: "https://hashnode.com/posts/var-vs-let-vs-const/5d3aa825a2e1cf3f5c7a4478"
---

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

Discussion

# [Var VS Let VS Const](https://rackham.hashnode.dev/var-vs-let-vs-const?utm_source=hashnode&utm_medium=feed)

What is difference between var,let and const; VAR It is a keyword for variable declaration in javascript. It is function scoped means if you declared a variable inside a block of a function then it is scoped to whole function not just inside the blo...

Jul 26, 2019 · rackham.hashnode.dev  
Read the article

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

## Written by

[Krish Singh](https://hashnode.com/@rackham)

@rackham · Bengaluru

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

I am not the best but no one is better than me

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
