hi all friends can u explain me លទ្ធផលស្វែងរក What is the difference between arguments and parameters in javascript
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);
thank
I have some more question to ask to friend what is abstract class in php ? can you explain me?
Join our real-time social learning platform and learn together with your friends!