JavaScript Playground
Pairs well with
About JavaScript Playground
A live JavaScript REPL in your browser — type code and see the result instantly. It runs your JavaScript automatically as you type and streams the console output, the value of the last expression, and any errors into a console pane, just like a developer tools panel. Console.log prints objects, arrays, Maps, Sets and circular references with a proper inspector (not JSON), and async output from setTimeout and promises streams in too. Your code runs in a sandboxed Web Worker, so an accidental infinite loop is terminated automatically instead of hanging the tab. Syntax-highlighted editor with line numbers, loadable examples, and everything stays on your device.
Everything happens on your device. Close the tab and it's gone.