---
title: "Discussion on \"Var, Let & Const\" | Hashnode"
description: "Discussion on \"Var, Let & Const\". Before ES6(2015), variables used to declare with var. But now with ES6 we have let and const for variable declaration. var had some drawbacks which caused developers to find new way for variable declarations.\nvar\nvar is globally scoped or functional ..."
url: "https://hashnode.com/posts/var-let-and-const/61de94c34e70945324c593d4"
---

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

Discussion

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

Before ES6(2015), variables used to declare with var. But now with ES6 we have let and const for variable declaration. var had some drawbacks which caused developers to find new way for variable declarations. var var is globally scoped or functional ...

Jan 12, 2022 · 4 min read · pratikdevle.hashnode.dev  
Read the article

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

## Written by

[Pratik Devle](https://hashnode.com/@pratikdevle)

@pratikdevle · India

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

Learning web development

A passionate frontend developer &amp; always learning new things!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
