๐Ÿ“˜

Argument

The actual value you give a function when you call it.

๐Ÿ˜Š In simple words

The actual value you give a function when you call it.

๐ŸŽ“ Technical definition

A value (or expression) passed to a function call, which is bound to the matching parameter inside the function.

Pseudocode example
1SET TOTAL = ADD(10, 20)   // 10 and 20 are arguments

๐ŸŽ Real-world analogy

The ingredients you hand to a chef for today's dish.

๐Ÿ”— Related concepts

โ† Whole glossary