One thing I don't understand about values used with functions [renamed]

For example:

myFunc = function (p1, p2) {}

Or:

myFunc = function (ab) {}

What is ab/p1, p2 doing? And why is that good?
I wanna understand that, please tell me! :slight_smile: