1 Matching Annotations
- May 2019
-
javascript.info javascript.info
-
A function with an empty return or without it returns undefined If a function does not return a value, it is the same as if it returns undefined:
This differs from how PHP works, if you're coming from PHP. In PHP, there is an implicit return statement at the end of the function and its value is the value of the last executed statement of the function
-