Specifies the value to be returned by a function.
Syntax
return [statement];
Example
function square(x) {
return x * x;
}
![]() |
Custom Search
|
Change Language
|
return |