CARD 1
Introduction
Login to report note issues for this section.
Parameters & Return
A parameter is a variable listed in a function's definition that acts as a placeholder for a value. An argument is the actual value passed to the function when it is called.
codejs
Parameters and the return statement are the two primary ways a function communicates with the rest of the program — parameters bring data in, return sends data out.