I have a function that I am trying to convert to the new arrow syntax in ES6. It is a named function:
function sayHello(name) { console
No. The arrow syntax is a shortform for anonymous functions. Anonymous functions are, well, anonymous.
Named functions are defined with the function keyword.
function