What is arguments | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is arguments

3rd Nov 2017, 6:07 PM
Khadar Yare
Khadar Yare - avatar
2 Answers
+ 3
what you specify to pass in functions like addTwo(3); 3 is a parameter
3rd Nov 2017, 6:09 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
0
Argument is the value that you pass to function for example if u made a function that’ll add two values x and y so whatever u give the values for x and y will be the arguments and x and y are called the parameters.
3rd Nov 2017, 7:42 PM
Ana Gillani
Ana Gillani - avatar