Simple online editor for javascript

Just paste it into navigation bar:

data:text/html, <html><script>window.onbeforeunload = window.onunload = function(){return 'Confirm page reload';};</script><body><button onclick="console.log(eval(document.querySelector('textarea').value.replace('<div>', '\n').replace('</div>', '\n')))">run</button><br><textarea style="width:600px;height:400px"></textarea></body><script>document.querySelector('textarea').focus();</script>

It just outputs the result into console when you click run button.
It’s simple and works. Because sometimes you just don’t need monsters like jsfiddle or jsbin.

LEAVE A COMMENT