DEV Community

Discussion on: Parameters and Arguments..the difference

Collapse
 
samuelorobosa profile image
Samuel Amagbakhen

Actually no difference in what I explained and what you said unless you see something I don't.

Collapse
 
pentacular profile image
pentacular • Edited

Parameters are variables passed into a function

Here :)

Thread Thread
 
samuelorobosa profile image
Samuel Amagbakhen

Okay now, I understand you.

Rather than passed, they are bound to the function. I'll edit the post.

Thanks for clarifying that.

Thread Thread
 
pentacular profile image
pentacular

Rather than bound to the function, the argument values are bound to the corresponding parameter variables in the body of the function. :)

Thread Thread
 
samuelorobosa profile image
Samuel Amagbakhen

Okay, noted.