Review: Function Returning a Value

return

The return statement ends function execution and specifies a value to be returned to the function caller.


Source: Mozilla, https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/return
Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.