JS & TS Playground
Write JavaScript or TypeScript-style code, run it in a sandbox and read the console output right next to the editor. Good for quick experiments and snippets.
Editor
JavaScript · Ctrl Enter runsConsole
Code runs in a restricted sandbox: network, DOM and timer APIs are blocked, and long runs stop after 2 seconds. Use console.log() to print; errors show up in the console in red.