---
title: "Discussion on \"Understanding variable declaration and scope in JavaScript!!\" | Hashnode"
description: "Discussion on \"Understanding variable declaration and scope in JavaScript!!\". In JavaScript, the variables are declared using var, let, and const keywords. Let's understand how each of these keywords varies from each other."
url: "https://hashnode.com/posts/understanding-variable-declaration-and-scope-in-javascript/61e04d83cb0ca175a18dc599"
---

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

Discussion

# [Understanding variable declaration and scope in JavaScript!!](https://atulhande03a.hashnode.dev/understanding-variable-declaration-and-scope-in-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript, the variables are declared using var, let, and const keywords. Let's understand how each of these keywords varies from each other.

Jan 13, 2022 · 5 min read · atulhande03a.hashnode.dev  
Read the article

-   [#variables](https://hashnode.com/tag/variables)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#scope](https://hashnode.com/tag/scope)

## Written by

[Atul Kumar Hande](https://hashnode.com/@AtulHande03a)

@AtulHande03a · Pune

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

Keep learning and keep growing..

## Responses 3

Markdown supported · ⌘↵ to post

[Pradip](https://hashnode.com/@pradipgharge)

[Jan 14, 2022](https://hashnode.com/posts/understanding-variable-declaration-and-scope-in-javascript/61e04d83cb0ca175a18dc599/comment/61e1125dd546507ab0342014)

Nicely explained, was easy to understand

[Omkar Ghate](https://hashnode.com/@omkar01)

[Jan 14, 2022](https://hashnode.com/posts/understanding-variable-declaration-and-scope-in-javascript/61e04d83cb0ca175a18dc599/comment/61e0ef95d546507ab0341cbb)

Great article! Clear and concise explanation.

[Abhijeet Ekad](https://hashnode.com/@abhijeet41)

[Jan 13, 2022](https://hashnode.com/posts/understanding-variable-declaration-and-scope-in-javascript/61e04d83cb0ca175a18dc599/comment/61e098d41f35f37864466877)

Well explained..
