Using JS Fiddle how do I display the result of console.log
. I'm teaching a class, for free, and I'd like to give me students a place where they can go and run:
console.log('foo');
I want them to be able to see the results of the .log()
.
console.log('foo');
in JS boxhttps://rawgit.com/eu81273/jsfiddle-console/master/console.js
https://rawgit.com/eu81273/jsfiddle-console/master/console.js
into the mix in your last edit.
Commented
Jul 16, 2018 at 18:55
Use the console of your web browser.
If you are using Chrome for Windows press Ctrl + Shift + J
For other alternatives checkout How to get console inside jsfiddle
I thought I was going crazy because my console.log
wasn't outputting anything to Chrome's developer console. Then I realized that I had left "Info" type levels unchecked. As soon as I rechecked that, console.log
informational output starting showing up in the console. :facepalm