-
Do functions in JavaScript necessarily return a value?
-
- some functions do not return any value
- It is mandatory
- Not necessary
- Few functions return values by default
- None of these
Correct Option: D
Functions generally have a return statement and hence usually returns a value. Some functions which does not have a return statement returns value by default during execution.