Function declaration

In this exercise we create a function called func. Then we call the function and assign its return value to the variable result. To solve this exercise, simply have the console.log() statement log the words hello world.
function func() {
return 'hello';
}; const result = func(); console.log(result);
Javascript
Console