---
title: "Discussion on \"Understanding Variables and Data Types in JavaScript\n\" | Hashnode"
description: "Discussion on \"Understanding Variables and Data Types in JavaScript\n\". If you’re starting JavaScript, one of the first things you’ll hear is:\n\n“Declare a variable”\n\n“Store data”\n\n“Use the correct data type”\n\n“Use let instead of var”\n\n“Why is const not changing?”\n\n\nAnd if"
url: "https://hashnode.com/posts/understanding-variables-and-data-types-in-javascript/69b44ee26e27dd07d92c0fb6"
---

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

Discussion

# [Understanding Variables and Data Types in JavaScript](https://js-basics-series.hashnode.dev/understanding-variables-and-data-types-in-javascript?utm_source=hashnode&utm_medium=feed)

If you’re starting JavaScript, one of the first things you’ll hear is: “Declare a variable” “Store data” “Use the correct data type” “Use let instead of var” “Why is const not changing?” And if

Mar 13 · 9 min read · js-basics-series.hashnode.dev  
Read the article

-   [#let-const-var](https://hashnode.com/tag/let-const-var)
-   [#variables](https://hashnode.com/tag/variables)
-   [#variables-in-js](https://hashnode.com/tag/variables-in-js)
-   [#datatypes](https://hashnode.com/tag/datatypes)
-   [#datatypes-in-js](https://hashnode.com/tag/datatypes-in-js)
-   [#scope](https://hashnode.com/tag/scope)
-   [#variable-scope](https://hashnode.com/tag/variable-scope)
-   [#hiteshchoudharylco](https://hashnode.com/tag/hiteshchoudharylco)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Ritu Sood](https://hashnode.com/@ritusood)

@ritusood

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
