News for hackers. Stuff that matters.
Re:Proxy, a new JavaScript ES6 feature by tlrobinson on Friday May 18, 2018 @03:32AM (#17099369)
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>
Re:Proxy, a new JavaScript ES6 feature by sametmax on Friday May 18, 2018 @03:53AM (#17099457)
JSFiddle should just have a tick box with "intercept console.log" and a tab with the output .
Re:Proxy, a new JavaScript ES6 feature by tirthbodawala on Friday May 18, 2018 @04:22AM (#17099588)
Hahahaha...It should!
Re:Proxy, a new JavaScript ES6 feature by tazard on Friday May 18, 2018 @08:02AM (#17100704)
I feel as though this is a missed opportunity to use a proxy!
Re:Proxy, a new JavaScript ES6 feature by icc97 on Friday May 18, 2018 @06:58AM (#17100409)
I 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