+ 1
Function Return in JavaScript
Hi friends , What is the meaning of this phrase? If the function was invoked from a statement, JavaScript will "return" to execute the code after the invoking statement. This is the full text: Function Return When JavaScript reaches a return statement, the function will stop executing. If the function was invoked from a statement, JavaScript will "return" to execute the code after the invoking statement. Functions often compute a return value. The return value is "returned" back to the "caller": Its source is w3schools
2 Answers
+ 2
Meaning if the function was called, javascript will return an output after the calling the function.