---
title: "Discussion on \"Modern Javascript - Var, Let & Const - Are all same? Part 2\" | Hashnode"
description: "Discussion on \"Modern Javascript - Var, Let & Const - Are all same? Part 2\". In our  previous blog, we have discussed what is scope, Hoisting, and var keyword in Javascript.\nLet's go further and discuss let and const keywords.\nProblem with var\nlet's discuss the below example to understand the problem with var\n{\n\nfunction anyF..."
url: "https://hashnode.com/posts/modern-javascript-var-let-and-const-are-all-same-part-2/60bca052fffc4c13b9cd7690"
---

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

Discussion

# [Modern Javascript - Var, Let & Const - Are all same? Part 2](https://www.anshuljain.in/modern-javascript-var-let-and-const-are-all-same-part-2?utm_source=hashnode&utm_medium=feed)

In our previous blog, we have discussed what is scope, Hoisting, and var keyword in Javascript. Let's go further and discuss let and const keywords. Problem with var let's discuss the below example to understand the problem with var { function anyF...

Jun 6, 2021 · 3 min read · anshuljain.in  
Read the article

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

## Written by

[Anshul Jain](https://hashnode.com/@anshuljain)

@anshuljain · India

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

Develop, Break and Fix.

Full Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
