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 :: Facebook passport Oauth authenticate strategy 
Javascript :: react-select default menu open 
Javascript :: change value of drop down using jquery 
Javascript :: javascript merge two objects 
Javascript :: toast in react native 
Javascript :: javascript create an array of range between two numbers 
Javascript :: jquery on hover dynamic elements 
Javascript :: file upload with angular material 
Javascript :: reactnative get height screen 
Javascript :: javascript range of integers with spread 
Javascript :: react toastify dark mode 
Javascript :: replace data in files in node.js 
Javascript :: insert image in react 
Javascript :: javascript onmouseover change image 
Javascript :: javascript sum array 
Javascript :: hide browser address bar javascript 
Javascript :: limit characters display javascript 
Javascript :: json javascript 
Javascript :: regExp numero français 
Javascript :: discord.js messageDelete 
Javascript :: aws list all files in s3 bucket node js aws 
Javascript :: javascript append to array 
Javascript :: javascript object to base64 
Javascript :: format date month day year javascript 
Javascript :: check if is function javascript 
Javascript :: react environment 
Javascript :: node js variables in string 
Javascript :: scrollbar automatically scroll down as new divs are added reactjs 
Javascript :: react is there a safe area view for android 
Javascript :: gulp synchronous tasks 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =