Return Early Pattern for Functions this exercise

I can`t understand what return I must to use!Help me, please!

There is only one return. You are supposed to return undefined. Here is an example for a function that returns null:

function getNameOf(value) {
  if (!value) {
    return null;
  } else {

Thnx I decided this problem)