+ 5

Are arguments the respective values for parameters

11th Jul 2016, 2:52 PM
Navigator Moses
Navigator Moses - avatar
6 odpowiedzi
+ 4
function myFunc(age) { //age is a parameter. ... } myFunc(45); //45 is an argument you pass to the function when you call it.
11th Jul 2016, 7:57 PM
ZinC
ZinC - avatar
+ 3
Yes arguments are the respective values for parameters, arguments are the values of the parameters when called
11th Jul 2016, 11:58 PM
Ozii
Ozii - avatar
+ 1
understood, thank you
12th Jul 2016, 4:38 AM
Navigator Moses
Navigator Moses - avatar
+ 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.
13th Jul 2016, 4:18 AM
gx021
gx021 - avatar
+ 1
Yes, here is the example an example code that I made on the following link: https://code.sololearn.com/W9tc6WbbFRlB/?ref=app
24th Feb 2017, 3:56 AM
Samuel Mayol
Samuel Mayol - avatar
0
yes
18th Jul 2016, 10:32 AM
Felipe Medeiros
Felipe Medeiros - avatar