Home / Programming MCQs / JavaScript MCQs / Question

V

Vishal Gupta • 7.73K Points
Tutor III

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

(A) Stops executing the function and returns the value
(B) Returns the value and stops executing the function
(C) Returns the value and stops the program
(D) Returns the value and continues executing rest of the statements, if any

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.