console.log(...) is not a function
Simply put a semicolon (;) after console.log(…)
error case
console.log()
(function(){})
0
10
This is probably a cache error, try the 4 different options below
- Press F5 on your keyboard to refresh the page and cache
- Make sure there is a semicolon at the end of the function as seen below
console.log('test');
- Close the browser and clear the cache before trying again
- Try a different browser
Don't forget to upvote if this helped so others can see
Thank you!
10
0
Are there any code examples left?
New code examples in category Javascript