Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

Uncaught TypeError: console.log is not a function

That's strange.
  - Try making sure to use a semicolon after the function
  - Make sure you're using console.log() and not only console()
  - Try looking for any script that disables console.log
  - Reload the page without cache (press F5)
  - Something's wrong with your browser
Hope this helps! Please upvote ->
Comment

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

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

error case
console.log()
(function(){})
Comment

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
Comment

PREVIOUS NEXT
Code Example
Javascript :: array of objects in js 
Javascript :: regex validate email 
Javascript :: vue prop using variable 
Javascript :: (this).find 
Javascript :: vue create component 
Javascript :: useeffect react 
Javascript :: JavaScript Debug usage Example 
Javascript :: vue component naming convention 
Javascript :: how to query array of object in mongoos 
Javascript :: passport local 
Javascript :: break in javascript 
Javascript :: ?. in javascript 
Javascript :: javascript split array 
Javascript :: npx for yarn 
Javascript :: proptypes for a react component 
Javascript :: react tutorial 
Javascript :: jquery dynamic row number not working properly 
Javascript :: untrusted health sourcesa 
Javascript :: filter based on input typing react 
Javascript :: javascript nested objects 
Javascript :: javascript moving text from left to right onscroll 
Javascript :: for each add character javascript 
Javascript :: scriptmanager call javascript function 
Javascript :: react native on expo finger print is working bt not in apk 
Javascript :: what is from npm 
Javascript :: discord.js blank field 
Javascript :: event.target.value inside vf page 
Javascript :: node command get to much time 
Javascript :: halt button from submitting js 
Javascript :: what is reveal.js plugin 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =