Tell us what’s happening:
Anybody care to take a look? Tried Chrome and Firefox and both of them return the error:
// running tests
reusableFunction should output “Hi World” to the dev console
// tests completed
// console output
Heyya, World
Hi World
I even tried putting Hi World into an extra set of quotes in case it was a trick but to no avail.
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 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/write-reusable-javascript-with-functions/