---
title: "Discussion on \"Understanding Variables and Data Types in JavaScript\" | Hashnode"
description: "Discussion on \"Understanding Variables and Data Types in JavaScript\". 1. What Are Variables and Why Are They Needed?\nIn JavaScript, a variable is like a box that stores information. Just as you can put something inside a box and give the box a label, you can store data"
url: "https://hashnode.com/posts/understanding-variables-and-data-types-in-javascript/6a6892aac771ce3579df14b1"
---

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

Discussion

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

1\. What Are Variables and Why Are They Needed? In JavaScript, a variable is like a box that stores information. Just as you can put something inside a box and give the box a label, you can store data

Jul 28 · 5 min read · faisalsiddiqui.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#piyushgarag](https://hashnode.com/tag/piyushgarag)
-   [#hiteshchoudharylco](https://hashnode.com/tag/hiteshchoudharylco)

## Written by

[faisal Siddiqui](https://hashnode.com/@faisalsiddiqui)

@faisalsiddiqui · New Delhi

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

Faisal

Full Stack Dev &amp; Technical Writer | React · JS · AWS · Docker | Writing what I learn | Open for freelance article writing

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
