That can be a big question. Is there any documentation?
Generaly a default parameter is passed over by leaving it blank.
function with three parameters and they are all optional
functionName()
functionName(,param2,)
functionName(param1,param2,)
functionName(,,param3)
sometimes they require the correct datatype but empty
functionName(0,"",0)
functionName(0,0,0)
what you pass depends on what the parameters types are. Attitude is Everything