---
title: "Discussion on \"What are var, let, and const in JavaScript?\" | Hashnode"
description: "Discussion on \"What are var, let, and const in JavaScript?\". Learn the difference between var, let, and const in JavaScript. Understand scope, hoisting, reassignment, and when to use each one properly."
url: "https://hashnode.com/posts/what-are-var-let-and-const-in-javascript/68769fa4778eb828c358a43e"
---

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

Discussion

# [What are var, let, and const in JavaScript?](https://htmlallthethings.hashnode.dev/what-are-var-let-and-const-in-javascript?utm_source=hashnode&utm_medium=feed)

Learn the difference between var, let, and const in JavaScript. Understand scope, hoisting, reassignment, and when to use each one properly.

Jul 15, 2025 · 4 min read · htmlallthethings.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#guide](https://hashnode.com/tag/guide)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Matt Lawrence](https://hashnode.com/@MattPorterBridges)

@MattPorterBridges · Ontario, Canada

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

Host of the HTML All The Things Podcast & Web Developer

I'm the creator and host of the HTML All The Things Podcast. I've also been running a web dev agency named Digital Dynasty Design for almost a decade with my business partner and podcast co-host Mikhail Karan.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
