1Simply put a semicolon (;) after console.log(…)
2
3error case
4console.log()
5(function(){})
1This is probably a cache error, try the 4 different options below
2
3- Press F5 on your keyboard to refresh the page and cache
4
5- Make sure there is a semicolon at the end of the function as seen below
6 console.log('test');
7
8- Close the browser and clear the cache before trying again
9
10- Try a different browser
11
12Don't forget to upvote if this helped so others can see