# Argument

*noun*

say it: **“AR-gyuh-ment”** **/ˈɑːrɡjəmənt/**

The actual value you hand to a function when you call it, such as 4.5 in addTax(4.5).

## What is **Argument** in JavaScript?

**Argument** — The actual value you hand to a function when you call it.

```javascript
function total(price, quantity) {
    return price * quantity;
}

const orderTotal = total(4, 3);
```

## In a sentence

- “I called addTip(20) with the **argument** 20, the cost of the meal.”

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

Updated: November 9, 2026

## In other subjects

- [Argument in Python](https://www.ask-codey.com/glossary/argument)
- [Argument in Unix](https://www.ask-codey.com/glossary/argument-unix)

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