About Lesson
Introduction:
There are some situations when we want to return some values from a function after performing some operations. In such cases, we can make use of the return statement in JavaScript. This is an optional statement and most of the times the last statement in a JavaScript function.
The return statement begins with the keyword return separated by the value which we want to return from it. We can use an expression also instead of directly returning the value.
Exercise Files
No Attachment Found
Join the conversation