I'm trying to do some logging via console.log
in Chrome's Developer Tools console but no output gets logged.
Here's an example:
> console.log('hello')
< undefined
As you can see (and you can try) nothing got logged. Does anyone know how to log to console with console.log
?
Update:
I found that website I was debugging had its own console.log
implementation that didnt log to console, that's why nothing showed up.
Does anyone know how to call RAW/Original console.log
that browser implements?
Delete the custom function to restore the native code, like so...
delete console.log()