# Variable

*noun*

say it: **“VAIR-ee-uh-bul”** **/ˈvɛəriəbəl/**

A name that holds a value so your program can use it later, like a labeled box. In JavaScript you create one with let or const.

## What is **Variable** in JavaScript?

**Variable** — A name that holds a value, like a labelled box.

```javascript
let score = 10;
score = score + 5;
```

## In a sentence

- “I stored the drink price in a **variable** called lattePrice and used it on every receipt line.”

Level: Novice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=1)

Updated: November 9, 2026

## In other subjects

- [Variable in C#](https://www.ask-codey.com/glossary/variable-c-sharp)
- [Variable in Java](https://www.ask-codey.com/glossary/variable-java)
- [Variable in Python](https://www.ask-codey.com/glossary/variable)

Source: https://www.ask-codey.com/glossary/variable-javascript
