---
title: "Discussion on \"Difference between var and let in JavaScript\" | Hashnode"
description: "Discussion on \"Difference between var and let in JavaScript\". Difference between var and let in JavaScript"
url: "https://hashnode.com/posts/difference-between-var-and-let-in-javascript/611336e9c0623972de8a6b46"
---

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

Discussion

# [Difference between var and let in JavaScript](https://blog.kritikapattalam.com/difference-between-var-and-let-in-javascript?utm_source=hashnode&utm_medium=feed)

Difference between var and let in JavaScript

Aug 11, 2021 · 2 min read · blog.kritikapattalam.com  
Updated Aug 17, 2021  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam)

@kritika-pattalam · New Jersey

  
[View profile](https://hashnode.com/@kritika-pattalam)

Software Developer | Front End Web Development

I am a Front end developer currently working on React JS, HTML, CSS, Python, Vue JS, Webpack, Babel, AEM etc.

## Responses 3

Markdown supported · ⌘↵ to post

[Laststance](https://hashnode.com/@Laststance)

[Aug 13, 2021](https://hashnode.com/posts/difference-between-var-and-let-in-javascript/611336e9c0623972de8a6b46/comment/611609521f1bd93c4f35c071)

Thank you for writing great post! 😄 I've seen difference between `const` and `let` post many time, but rarely find that mentioning about `var` certainly.

I've interests your other article!

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam)

[Aug 13, 2021](https://hashnode.com/posts/difference-between-var-and-let-in-javascript/611336e9c0623972de8a6b46/comment/611609521f1bd93c4f35c071#reply-61167ea713a99e48922eed19)

Very true, even I hardly find articles explaining let vs var, that is why I wanted to write this. Thanks for taking the time to read.

[Laststance](https://hashnode.com/@Laststance)

[Aug 13, 2021](https://hashnode.com/posts/difference-between-var-and-let-in-javascript/611336e9c0623972de8a6b46/comment/611609521f1bd93c4f35c071#reply-61169ed416b6034ad04b0550)

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam) Thanks! 😊

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 11, 2021](https://hashnode.com/posts/difference-between-var-and-let-in-javascript/611336e9c0623972de8a6b46/comment/6113cc3d1190301924979d4f)

Nice introduction. Thanks for sharing.

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam)

[Aug 11, 2021](https://hashnode.com/posts/difference-between-var-and-let-in-javascript/611336e9c0623972de8a6b46/comment/6113cc3d1190301924979d4f#reply-6113cf9b611d5c199a2fa562)

Thanks for taking the time to read. Its really awesome to get feedback from you!!!.

[Akash Deshpande](https://hashnode.com/@akashdeshpande)

[Aug 11, 2021](https://hashnode.com/posts/difference-between-var-and-let-in-javascript/611336e9c0623972de8a6b46/comment/6113872d756897544b10634a)

Nice article! I too published an article on var let and const in JS yesterday, though I missed the strict mode. This is an addition to my knowledge on JS. Thanks for publishing the article!

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam)

[Aug 11, 2021](https://hashnode.com/posts/difference-between-var-and-let-in-javascript/611336e9c0623972de8a6b46/comment/6113872d756897544b10634a#reply-6113cf301190301924979e0c)

Glad you found it useful. :)
