The default parameter is used when the parameter isn’t provided.
If you provide it as nil, then it will be nil. So yes, this is expected behavior.
The default parameter is used when the parameter isn’t provided.
If you provide it as nil, then it will be nil. So yes, this is expected behavior.