Home > Back-end >  Take a look at this to do
Take a look at this to do

Time:09-26

As shown in picture,,,,,,,

CodePudding user response:

S2=add (10)
The equivalent of
S2=add (1, 2, 3), because in addition to the first parameter to all the rest is the default parameter
Nature is equal to 10 + 2 + 3=15;

CodePudding user response:

The second question, can't, because there is no default value, the first parameter,,,,,,

CodePudding user response:

Second, the default parameters can only be in the back
  • Related