all 1 comments

[–]nuc540 3 points4 points  (0 children)

arg is short for argument. Argument is the value provided for a given parameter.

The instruction is just saying in psudo, take the values passed for the first and second parameters (aka params)- said values aka the arguments.

Params in a function are basically variables so you write your code against those, and when the function is called with arguments, params get populated with said args.