Function definition: Difference between revisions

Content deleted Content added
Langurmonkey (talk | contribs)
Langurmonkey (talk | contribs)
Line 1,493:
 
=={{header|langur}}==
Functions defined with explicit parameters may be closures, and those defined with implied parameters are not.
 
A function body may use curly braces, but it is not required if it is a single expression.
 
A return statement may be used, but a function's last value is its implicit return value.
 
Functions defined with explicit parameters may be closures, and those defined with implied parameters are not.
 
=== explicit parameters ===