Skip to main content

What are function arguments?

Function arguments are the values that are passed to a function when it is called. These values are used as inputs to the function.

function double(num) {
return 2 * num;
}
double(4); // 8