return Keyword

Syntax

return [expression];

expression
The expression whose value is to be returned. If omitted, undefined is returned instead.