JavaScript Online Compiler

Web Worker
main.js
Loading editor…
Press Run (or Ctrl/Cmd + Enter) to execute this snippet.
Ctrl/Cmd + Enter runs the snippet · drafts and input are saved per language