User:DavidGreens
[FreeCodeCamp/FreeCodeCamp] Co
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36.
My code:
// Example function reusableFunction() { console.log("Hi World"); } reusableFunction(); // Only change code below this line
—
My version of this challenge (which I completed on January 8, 2016) had a
totally different example function and it looks like there might have been
an edit that does confuse the issue? My editor window for this challenge
has this example function:
// Example
function ourFunction() {
console.log("Heyya, World");
}
ourFunction();https://www.freecodecamp.com/challenges/write-reusable-javascript-with-functions#?solution=%0A%2F%2F%20Example%0Afunction%20reusableFunction()%20%7B%0A%20%20console.log(%22Hi%20World%22)%3B%0A%7D%0A%0AreusableFunction()%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0A%0A%0A