---
title: "Discussion on \"How Variables, declared with var, let and const  behave in JavaScript?\" | Hashnode"
description: "Discussion on \"How Variables, declared with var, let and const  behave in JavaScript?\". \"Explore variable declaration in JavaScript: scope, hoisting, reassignment, and the Temporal Dead Zone. Learn to avoid common pitfalls.\""
url: "https://hashnode.com/posts/variable-js-nirmallya/64e507508d0deea8a583d715"
---

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

Discussion

# [How Variables, declared with var, let and const behave in JavaScript?](https://nirmallyakoner.hashnode.dev/variable-js-nirmallya?utm_source=hashnode&utm_medium=feed)

"Explore variable declaration in JavaScript: scope, hoisting, reassignment, and the Temporal Dead Zone. Learn to avoid common pitfalls."

Aug 22, 2023 · 9 min read · nirmallyakoner.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#variables](https://hashnode.com/tag/variables)
-   [#variable-declaration](https://hashnode.com/tag/variable-declaration)
-   [#es6](https://hashnode.com/tag/es6)
-   [#js](https://hashnode.com/tag/js)

## Written by

[Nirmallya Koner](https://hashnode.com/@nirmallyakoner)

@nirmallyakoner · Kolkata, West Bengal, India

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

My interest is in JavaScript and Development

Learning web development with the essence of JavaScript and React JS.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
