Write Reusable JavaScript with Functions

Write Reusable JavaScript with Functions
0

#1

Tell us what’s happening:
function definition and function call is not working properly for some reason I can’t tell.

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();

error given: nativeLog is not a function

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36.

Link to the challenge:


#2

Try running the tests again or refresh the page and run the tests again. Your code should be working.