Free · No sign-up · Runs in your browser
Write code.
See it come to life.
A fast, free playground for JavaScript, TypeScript, and React. Test ideas, practice coding challenges, and build components with instant feedback.
1const nums = [3, 1, 2]
2const sorted = nums.toSorted((a, b) => a - b)
3console.log(sorted)
4
5const counts = new Map()
6for (const ch of 'hello') {
7 counts.set(ch, (counts.get(ch) ?? 0) + 1)
8}
9console.log(counts)
Done in 2 ms
[1, 2, 3]L3
Map(4) { 'h' => 1, 'e' => 1, 'l' => 2, 'o' => 1 }L9
Everything you need to practice
-
Instant feedback
Write code and see results as you type. No waiting, no extra steps.
-
JavaScript & TypeScript
Switch between JavaScript and TypeScript effortlessly. Just write code and hit run.
-
Build React components
Create interactive components, add styles, and see your changes live.
-
Isolated execution
Run code in a separate environment, with automatic timeouts to stop long-running scripts.
-
Pick up where you left off
Your code stays in your browser, ready whenever you come back.
-
Stay in your flow
Run code with a keyboard shortcut and keep your focus on building.