# Arguments (JavaScript)

An argument is any value that is passed into a function when calling the function.

## What is an **argument**?

An **argument** is any value that is passed **into**
a function when calling the function.

```javascript
// the values *5* and *12* are arguments
let sum = add(5, 12);
```

Level: Apprentice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary/subjects/javascript/apprentice)

Updated: September 27, 2026

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