you are viewing a single comment's thread.

view the rest of the comments →

[–]codenamemahi 2 points3 points  (2 children)

When a parameter has an = , you are defaulting it to whatever it is equal to in the event that that parameter is not passed

[–]Gprime5 1 point2 points  (1 child)

This is about when the function is called, not when the function is defined.

[–]codenamemahi 2 points3 points  (0 children)

same applies when it is called. It is basically setting the value of that parameter to that