4 ms·
Presumably so you can see the output in the embedded JSFiddles. FYI, if you're embedding a JSFiddle you could also just drop this in the HTML section then use
by tlrobinson 8y ago
Presumably so you can see the output in the embedded JSFiddles.
FYI, if you're embedding a JSFiddle you could also just drop this in the HTML section then use console.log:
<script>console.log = function(str) { document.write(str, "<br/>") }</script>
- sametmax 8y agoJSFiddle should just have a tick box with "intercept console.log" and a tab with the output .
- tirthbodawala 8y agoHahahaha...It should!
- icc97 8y agoI initially stared at that with horror, but I suspect that Stack Overflow does something similar with their code snippets. If you write console.log it gets output to the screen [0] [0]: https://stackoverflow.com/a/49968603/327074 https://stackoverflow.com/a/49968603/327074
- tazard 8y agoI feel as though this is a missed opportunity to use a proxy!