On the assignment, Basic JavaScript: Write Reusable JavaScript with Functions, I receive the following message in the output field:
// running tests
reusableFunction should be a function.
You should call reusableFunction after you define it.
// tests completed
// console output
Hi World
My code is as follows:
function reuseableFunction() {
console.log("Hi World");
}
reuseableFunction();
Can someone please tell me what I’m not seeing?
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Edg/83.0.478.58.
Challenge: Write Reusable JavaScript with Functions
Link to the challenge: