JS

JavaScript Fundamentals 2 - The return keyword in ...

29.

What happens if a function in JavaScript does not have a "return" statement?

The function will automatically return the value "undefined".

The function will throw an error.

The function will continue executing without returning any value.

The function will return the value of the last expression evaluated.