ExamVeda
Login
Home
This question belongs to Javascript Array And Function
Array and Function
?

What is the purpose of a return statement in a function?

Answer & Solution
Correct Answer: Option D
The return statement causes the function to stop executing and to return the value of its expression (if any) to the caller.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.