Code & structure
Structure
Output
Syntax checking and the structure outline use the Acorn parser, bundled with the page so it works offline. Your code runs in a Web Worker with a short time limit, so an accidental infinite loop is stopped instead of freezing the tab. Because it's a worker, there's no document, window, or alert — use return values and console.log to see output. Nothing is uploaded.