Converts a named function to a variable that holds an arrow function or a function expression.