---
title: "Discussion on \"Variables in JavaScript\" | Hashnode"
description: "Discussion on \"Variables in JavaScript\". A variable is something that stores some value assigned to it. In JavaScript variables can be declared in 3 ways.\nvar - allows redeclaration\nlet - allows reassigning values to a variable.\ndoesn't allow redeclaration of a variable.\nconst - declared va..."
url: "https://hashnode.com/posts/variables-in-javascript/66eda7d2da7aae4abe4461c6"
---

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

Discussion

# [Variables in JavaScript](https://webdec.hashnode.dev/variables-in-javascript?utm_source=hashnode&utm_medium=feed)

A variable is something that stores some value assigned to it. In JavaScript variables can be declared in 3 ways. var - allows redeclaration let - allows reassigning values to a variable. doesn't allow redeclaration of a variable. const - declared va...

Sep 20, 2024 · 1 min read · webdec.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#js](https://hashnode.com/tag/js)
-   [#var-let-const](https://hashnode.com/tag/var-let-const)

## Written by

[Yashas](https://hashnode.com/@yashas602)

@yashas602 · India,Karnataka

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
