Defines a RETURN statement.

A Return statement exits from the current function or handler and returns a value from it. The returned value is specified in the Expression property as a JavaScript expression evaluated during the transaction execution.

Property Type Category Description
Comment String standard Describes the object comment to include in the documentation report.
This property generally contains an explanation about the object.
Expression JS expression standard Defines the expression evaluated to give the statement value.
This property is a JavaScript expression that is evaluated during the transaction execution and gives the statement’s result.
Is active boolean standard Defines whether the statement is active.