---
title: "Discussion on \"Javascript variables (Beginner thinking)\" | Hashnode"
description: "Discussion on \"Javascript variables (Beginner thinking)\". A detailed discussion of Javascript variables for beginners."
url: "https://hashnode.com/posts/javascript-variables-beginner-thinking/6453d98379c15b9eb8e74565"
---

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

Discussion

# [Javascript variables (Beginner thinking)](https://robiul.dev/javascript-variables-beginner-thinking?utm_source=hashnode&utm_medium=feed)

A detailed discussion of Javascript variables for beginners.

May 4, 2023 · 18 min read · robiul.dev  
Updated May 8, 2024  
Read the article

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

## Written by

[Robiul H.](https://hashnode.com/@robiulhr)

@robiulhr · Bhairab Bazar, Bangladesh

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

Professional Web Developer

🕵🏻 Professional Web Developer ✍ Technical Writer • 👨‍💻 Making Web Development easier for beginners • ⚡ JavaScript &amp; Node js

## Responses 2

Markdown supported · ⌘↵ to post

[Vineet Jadav](https://hashnode.com/@data1science1)

[Apr 2, 2024](https://hashnode.com/posts/javascript-variables-beginner-thinking/6453d98379c15b9eb8e74565/comment/660c1c33da5847ed510f2e95)

Really liked how you described variable assignment as values to variables is a breeze. You use let or const to declare a variable, and = to assign a value. But there's more to it than meets the eye! Let variables offer flexibility, allowing you to reassign values as needed. For const, the value is fixed once assigned, ensuring data integrity. JavaScript is also quite friendly when it comes to data types. You can store numbers, strings, booleans, and more without explicitly declaring the type beforehand. And to top it off, variables declared with let or const have block scope, so you don't have to worry about accidental modifications from outer scopes. This makes your code cleaner and easier to reason about!. Do check out [bostoninstituteofanalytics.org/java-programming](https://bostoninstituteofanalytics.org/java-programming/)

[Pro coder](https://hashnode.com/@procoder142)

[Aug 17, 2023](https://hashnode.com/posts/javascript-variables-beginner-thinking/6453d98379c15b9eb8e74565/comment/64dd9df59154427d760d302e)

great article.

[Random user](https://hashnode.com/@randomu)

[May 5, 2023](https://hashnode.com/posts/javascript-variables-beginner-thinking/6453d98379c15b9eb8e74565/comment/64548b17b1081208fcf31a72)

Good.👍
