InterviewSolution
Saved Bookmarks
| 1. |
What is function return in javascript? |
|
Answer» 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". |
|