Write Reusable JavaScript with Functions Challenge

Write Reusable JavaScript with Functions Challenge
0

#1

Tell us what’s happening:
Reference Error: reusableFunction is not defined.

I searched the forum and compared my answer.
I refreshed the browser and also tried it in a different browser.
I’ll put a pin in it until I can make it to a meetup.

Your code so far

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

ourReusableFunction();

// Only change code below this line
function reusableFunction() {
  console.log("Hi World");
}

resuableFunction();

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36.

Link to the challenge:


#2

You have a typo in your function call of resuableFunction(); It is not the same spelling as your function declaration.


#3

Thank you. I stared and stared and felt it was something silly.