JavaScript Engineering Playground
A real editor with console output, error reporting, time limits and examples. Your code is saved in this browser as you type.
// Loading the playground…
How the playground runs your code
- Plain JavaScript runs in a Web Worker inside a sandboxed frame with no access to this page, cookies or saved progress.
- Runs stop after 5 seconds; loops stop after 2,000,000 repetitions.
- Top-level
awaitworks, and timers are allowed to finish (up to 1.5 seconds after the code ends). - Browser page mode runs HTML, CSS and JavaScript together in a sandboxed preview.