Jump to content

Function definition: Difference between revisions

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 ===
1,007

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.