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
document.write()
print
With ES6 tricks could be
function say(...args) { document.querySelector('#out').innerHTML += args.join(""); } say("hi","john");
Add only
in HTML