Skip to main content
Print this chapter
return
Keyword
Syntax
return [expression];
expression
The expression whose value is to be returned. If omitted,
undefined
is returned instead.