W
wyo
I have a function with several parameter, each optional.
function test (a, b, c, d) {...}
How do I check if e.g. parameter "a" is missing and set it a default
value?
How can I use it with parameter "a" optional but "b", "c", "d"
specified?
O. Wyss
function test (a, b, c, d) {...}
How do I check if e.g. parameter "a" is missing and set it a default
value?
How can I use it with parameter "a" optional but "b", "c", "d"
specified?
O. Wyss