> For the complete documentation index, see [llms.txt](https://docs.bashschool.in/v1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bashschool.in/v1/javascript/basics/the-assignment-operator.md).

# The assignment operator

You use the assignment operator `=` to assign a value to a variable:

```jsx
let count = 2
```

```jsx
const age = 23
```
