Write JavaScript, press Run and see what console.log() prints. It runs in your browser's own engine, with nothing to install and no account.
main.js
// Write your JavaScript here and click Run.
const names = ["Ada", "Linus", "Grace"];
for (const name of names) {
console.log(`Hello, ${name}!`);
}
console.log("Names:", names.length);
Output
Press Run to see what your program prints.
Your code runs in your own browser, not on a server: Python, Clang, Lua and SQLite are compiled to WebAssembly and load the first time you run something. That's why there's no account, no queue and no limit on how often you press Run.
What you write is saved in this browser, so it's still here when you come back. Reset brings back the example.
Share copies a link with your code inside it. Nothing is uploaded: whoever opens the link gets the code in their own editor, and it runs only when they press Run.
Ctrl+Enter (⌘+Enter on a Mac) runs the code from the keyboard.
A program may run for 10 seconds and print up to 100,000 characters. After that it's stopped, so a loop that never ends can't freeze the page.