Quantcast
Channel: Stack Snippets console output - Meta Stack Overflow
Browsing latest articles
Browse All 9 View Live

Answer by Flimm for Stack Snippets console output

Stack Overflow now supports displaying the results of console.log in a code snippet!Look!console.log("hello");console.log("world!");console.log({foo: "bar"});

View Article



Answer by woojoo666 for Stack Snippets console output

I think it would be best if you could have a separate console output pane under the HTML output pane, and even hide the HTML output pane if it isn't used. In the meantime, this is the workaround I...

View Article

Answer by Travis J for Stack Snippets console output

"Should I just open my console in order to see all the complete stack snippet outputs or is there a need of some kind of console API for the stack snippets too?"console.log has many useful scenarios....

View Article

Answer by code_monk for Stack Snippets console output

I believe JS Bin provides the most mature, stable, and well tested way of doing this.http://jsbin.com/kigegi/1/edit?html,js,consoleIt's a Remy Sharp project, with 92 other contributors, and it's...

View Article

Answer by Artjom B. for Stack Snippets console output

I really don't see a need for this.If the poster has written a Stack-Snippet which shows the results in the console, it is the responsibility of the poster to tell in the post itself that some/all of...

View Article


Answer by Sam for Stack Snippets console output

I've used Firebug JS in a few Stack Snippets, since that is what I became used to on JSFiddle (I have the URL bookmarked). It's not the prettiest solution, because it includes pointless HTML1 (the...

View Article

Answer by Jeroen for Stack Snippets console output

I gave your question +1, and would hate to see my answer accepted, but for what it's worth, there's a simple workaround for basic cases. Add this to your snippet at the top:console.log = function(x) {...

View Article

Answer by Scimonster for Stack Snippets console output

I quite agree. I made a feature request on MSE to that effect as well: Add a console to Stack SnippetsI also provided a userscript to enable a console. Please download and provide feedback (and up...

View Article


Stack Snippets console output

TL;DR: see UPDATE#3I recently answered a Stack Overflow question and inserted a stack snippet for a quick demo of my solution.However, it was a simple JavaScript-only related problem and I didn't use...

View Article

Browsing latest articles
Browse All 9 View Live




Latest Images