Reusablefunction

Don’t why I’m still getting this error message even after I called the function

// running tests Hi World You should call

reusableFunction

after you define it. // tests completed // console output Hi World

This is my code

function reusableFunction() {
console.log("Hi World");
} reusableFunction();

Hi @Lizzybholly

Can you please provide a link to the challenge you are referring to.

  • You should invoke the function on its own line
  • Use "" for enclosing Hi world.
function reusableFunction() {
     console.log("Hi World");
} 
reusableFunction();
1 Like

Thanks :grinning:, was really wondering what I doing wrong.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.