Linc
1
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:
There is an issue at the moment with the console not updating, but there is an easy workaround:
- Copy your code
- Refresh the page (CTRL+F5)
- Paste your code
This will refresh the console too. You may need to do this each time the console gets stuck, until you have correct code to pass the challenge.
This issue will hopefully be resolved soon!
system
Closed
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.