function argument

noun
UK /ˈfʌŋkʃən ˈɑːɡjʊmənt/
US /ˈfʌŋkʃən ˈɑːrɡjəmənt/

A value you give to a function so it knows what to work on.

In add(3, 5), the numbers 3 and 5 are the function arguments.


OTHER MEANINGS

2. A piece of information passed into a command or program when it runs.

The script takes a filename as a function argument.

3. In math, a specific value put into a function to get a result.

For f(x) = x + 2, the function argument 4 gives 6.

4. A named slot in a function's definition that receives a value when called.

The function argument 'name' is filled when you call greet('Sam').