console.log('the counter is at', counter.value());
[■]Output
Press Run, or Ctrl+Enter, to run main.js.
An unedited sample runs at once, from a module built with this site. Change its C++, Rust, packages or imports and Run compiles the project in a sandbox without network access: 45 seconds and 2 GB of memory at most, a few compiles a day per network, more once you sign in.