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:
https://www.freecodecamp.org/challenges/write-reusable-javascript-with-functions