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!
I feel as though this is a missed opportunity to use a proxy!
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]
FYI, if you're embedding a JSFiddle you could also just drop this in the HTML section then use console.log: