Tell us what’s happening:
Describe your issue in detail here.
So it’s not so much a problem with the code. that part I have. It’s more of a why its formatted the way it is.
Why does the function have () at the end of it before {}? what is the purpose of it? I get function reusableFunction, but why does the rest of it belong there?
**Your code so far**
function reusableFunction() {
console.log("Hi World");
}
reusableFunction()
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Challenge: Write Reusable JavaScript with Functions
Link to the challenge: