Operator Scope of Action:
Operator First Added:
Operator Last Altered:
Statement [other Statement type actions]
Document [operators of similar scope]
Data manipulation [other Data manipulation operators]
As at baseline
The return statement is only used inside a function, and indicates that the value (defined by code following the statement) is to be passed back to the code calling the function at which point the function stops. Trailing empty parentheses are _not_ used.
See further explanation of the use of return within functions, including how the returned value is coded.