Help with Javascript challenge (Write Reuseable Javascript with functions)

Help with Javascript challenge (Write Reuseable Javascript with functions)
0

#1

Hello, i am running into an error and i’m not sure what i have done wrong. My code is as follows:

// Example
function ourReusableFunction() {
  console.log("Heyya, World");
}

ourReusableFunction();

// Only change code below this line

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

reuseableFunction(); 

Now it says that reuseableFunction should be a function and that i should call it after i define it. Any help would be appreciated. thanks!


#2

You have a typo in your code.

reuseable should be reusable (no e after the s).


#3

Thanks friend. its been a looooong morning. no excuses! :grin: