What is a return statement?

In JavaScript return means what ?

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


I have moved your question to its own thread as it didn’t belong in the thread you posted it in.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.