Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

return statement in javascript

// --- The following return statements all break the function execution: ---

return;
return true;
return false;
return x;
return x + y / 3;
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #return #statement #javascript
ADD COMMENT
Topic
Name
7+7 =