What happens when we forget to include a return statement?

The function returns the value undefinedThe program crashesThe last line of the function is returned insteadThe parameter is returned instead

The function returns the value undefined.