Ask your own question, for FREE!
Computer Science 10 Online
OpenStudy (anonymous):

hi all friends can u explain me លទ្ធផល​ស្វែងរក What is the difference between arguments and parameters in javascript

OpenStudy (arnavguddu):

Argument is often used in the sense of "actual argument" vs. "formal parameter". The formal parameter is what's given in the function declaration/definition/prototype, the actual argument is what's passed when calling the function, an instance of a formal parameter, if you will. That being said, they're often used interchangably, or depending on language/community, and I've also heard "actual parameter" &c. So here, x and y would be formal parameters: int foo(int x, int y) { ... } Whereas here, in the function call, 5 and z are the actual arguments: foo(5, z);

OpenStudy (anonymous):

thank

OpenStudy (anonymous):

I have some more question to ask to friend what is abstract class in php ? can you explain me?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!