Answers for "console.log is not a function"

3

console.log(...) is not a function

Simply put a semicolon (;) after console.log(…)

error case
console.log()
(function(){})
Posted by: Guest on April-26-2020
0

console.log is not a function

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
Posted by: Guest on January-21-2021

Code answers related to "console.log is not a function"

Code answers related to "Javascript"

Browse Popular Code Answers by Language