0 votes
in JavaScript by
In JavaScript, do the functions always return a value?

a) Yes, functions always returns a value

b) No, it is not necessary

c) A number of functions return values by default

d) some functions do not return any value

1 Answer

0 votes
by

Answer: C

Reason: In JavaScript, a number of functions that contain a return statement usually return a value. The functions which does not have the return statement in their definition does not return any value but few of them also return value by default even if they do not contain a return statement.

...