Print Var in JsFiddle

aritroper picture aritroper · Jun 29, 2013 · Viewed 95.3k times · Source

How would I print something to the result screen in JsFiddle from my JavaScript. I can't use document.write(), it doesn't allow it, neither print.

What should I use?

Answer

davidkelleher picture davidkelleher · Apr 10, 2014

To be able to see output from console.log() in JSFiddle, go to External Resources on the left-side panel and add the following link for Firebug:

https://getfirebug.com/firebug-lite-debug.js

Example of the result after adding firebug-lite-debug.js