Write Reusable JavaScript with Functions not passing

Write Reusable JavaScript with Functions not passing
0

Tell us what’s happening:
Thanks sir, I have tried all that I can to let this function pass but to no avail. I need help for it.

Your code so far


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

ourReusableFunction();

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

reuseableFunction();

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36 Avast/77.0.1801.76.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/write-reusable-javascript-with-functions/

You have two typos. You are not correctly spelling the function defined and called.

Thanks sir. I corrected the typos and it passed. Next time, I will pay attention to the user defined names.

1 Like