# Assignment

*noun*

say it: **“uh-SINE-ment”** **/əˈsaɪnmənt/**

Putting a value into a variable with a single equals sign, as in score = 10, read "score gets 10".

## What is **Assignment** in JavaScript?

**Assignment** — Storing a value in a variable with a single =.

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

## In a sentence

- “After the bonus round, the **assignment** score = score + 50 replaced the old score with the new one.”

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

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

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