---
title: "Discussion on \"Understanding Variables and Data Types in JavaScript\n\n\" | Hashnode"
description: "Discussion on \"Understanding Variables and Data Types in JavaScript\n\n\". What variables are and why they are needed\n-> Variables are container that hold data. ->They help us store,reuse the data which store in the variables. Ex. ->Think variable as box and data is an item("
url: "https://hashnode.com/posts/understanding-variables-and-data-types-in-javascript/69aee299af06a097c3a93b72"
---

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

Discussion

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

What variables are and why they are needed -> Variables are container that hold data. ->They help us store,reuse the data which store in the variables. Ex. ->Think variable as box and data is an item(

Mar 9 · 6 min read · variable-declaration.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)
-   [#web-cohort-26](https://hashnode.com/tag/web-cohort-26)

## Written by

[Darshik Bambhroliya](https://hashnode.com/@darshik148)

@darshik148

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

Web Dev Cohort 2026

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
