+ 5
Are arguments the respective values for parameters
6 ответов
+ 4
function myFunc(age) { //age is a parameter.
...
}
myFunc(45); //45 is an argument you pass to the function when you call it.
+ 3
Yes arguments are the respective values for parameters, arguments are the values of the parameters when called
+ 1
understood, thank you
+ 1
Arguments are the values u supply to the function upon invoking it. The parameters receive the values u supply, "create copies" and become variables that are local only to the function. So note that values of the argument vars u pass to the function stay intact.
+ 1
Yes, here is the example an example code that I made on the following link:
https://code.sololearn.com/W9tc6WbbFRlB/?ref=app
0
yes