---
title: "Discussion on \"Javascript variable and their scope\" | Hashnode"
description: "Discussion on \"Javascript variable and their scope\". What is variable?\nA Variable is a place holder/container for storing data.\nThe general rule of declaring variables:\n\nmust be identified with unique names.\n\ncan contain letters, digits, underscores, and dollar signs.\n\nmust begin with a letter, can als..."
url: "https://hashnode.com/posts/javascript-variable-and-their-scope/63a693368ed01901d48f6263"
---

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

Discussion

# [Javascript variable and their scope](https://ajaychauhan.hashnode.dev/javascript-variable-and-their-scope?utm_source=hashnode&utm_medium=feed)

What is variable? A Variable is a place holder/container for storing data. The general rule of declaring variables: must be identified with unique names. can contain letters, digits, underscores, and dollar signs. must begin with a letter, can als...

Dec 24, 2022 · 2 min read · ajaychauhan.hashnode.dev  
Read the article

-   [#js](https://hashnode.com/tag/js)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#iwritecode](https://hashnode.com/tag/iwritecode)
-   [#iwritecode-hiteshchoudhary-lco-markdown-git-github](https://hashnode.com/tag/iwritecode-hiteshchoudhary-lco-markdown-git-github)

## Written by

[Ajay Chauhan](https://hashnode.com/@lazycoder28)

@lazycoder28 · Delhi,India

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
