Question:
I would like to pass value to specified parameters and use default value by optional parameters for the rest.A sample is made as below.
Current result is ‘b23’.
But I would like to obtain the result of ‘1b3’.
test({b:'b'})
and test({b:='b'})
, resulting SyntaxError.Thank you for your help.
Answer:
The syntax is slightly different:If you have better answer, please add a comment about this, thank you!