SyntaxError: unknown: Unexpected token (1:8)
1 | function
| ^
why am I getting this error?
function reusableFunction(){
console.log("Hi World");
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.68
Challenge: Basic JavaScript - Write Reusable JavaScript with Functions
Link to the challenge: