Hello ![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Here is something I've always wanted to know.
How do you prevent functions from returning an error when you ommit parameters in the call?
function a_simple_function(param1, param2) {
}
print(a_simple_function(param1));
I'm asking this because, when I add functionalities to an old function, I don't want to have to add the additional parameters in the past calls that don't use the added features anyway.
Thanks !
Here is something I've always wanted to know.
How do you prevent functions from returning an error when you ommit parameters in the call?
function a_simple_function(param1, param2) {
}
print(a_simple_function(param1));
I'm asking this because, when I add functionalities to an old function, I don't want to have to add the additional parameters in the past calls that don't use the added features anyway.
Thanks !