---
title: "Discussion on \"Let  And Const In Javascript\" | Hashnode"
description: "Discussion on \"Let  And Const In Javascript\". Do you know that before ES6(2015) , JavaScript had only global scope and function scope\nand for declaring a variable we can use var keyword .\nIn 2015 ES6 introduced two new keywords : let and const.\nIn this blog we will discussed more about these key..."
url: "https://hashnode.com/posts/let-and-const-in-javascript/632dc3dd3a049a0d9db73f26"
---

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

Discussion

# [Let And Const In Javascript](https://sayitshahid.hashnode.dev/let-and-const-in-javascript?utm_source=hashnode&utm_medium=feed)

Do you know that before ES6(2015) , JavaScript had only global scope and function scope and for declaring a variable we can use var keyword . In 2015 ES6 introduced two new keywords : let and const. In this blog we will discussed more about these key...

Sep 23, 2022 · 4 min read · sayitshahid.hashnode.dev  
Read the article

-   [#let-and-const](https://hashnode.com/tag/let-and-const)
-   [#variable-declaration](https://hashnode.com/tag/variable-declaration)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#hosting](https://hashnode.com/tag/hosting)
-   [#temporal-dead-zone](https://hashnode.com/tag/temporal-dead-zone)

## Written by

[Mohd Shahid Khan](https://hashnode.com/@sayitshahid)

@sayitshahid

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

Full Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
