Default input parameters for functions

Thx, how would this work when I want to call this function with a different depth value, like 4?