Tell us what’s happening:
I can’t pass this exercise. I’m getting this message:
reusableFunction should output "Hi World" to the dev console
I can’t see what’s wrong in the code. I tried this in 3 different browsers, but every time I get this message
Thanks in advance.
Your code so far
// Example
function ourReusableFunction() {
console.log("Heyya, World");
}
ourReusableFunction();
// Only change code below this line
function reusableFunction() {
console.log("Hi World");
}
reusableFunction();
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/write-reusable-javascript-with-functions