If we don't include a return statement, the function returns the value undefined instead.
return
undefined
Make sure to pick result.
result