Offline ES2024 JavaScript, Top-Level await & Async Console on Android.
Ditch archaic ES5 mobile apps and clunky HTML wrapper files. SuperCode runs standalone ES2024 JavaScript on an isolated background worker — supporting top-level await, for await...of, BigInt, structuredClone, console.table(), and <1ms infinite-loop termination.
Test modern asynchronous orchestration, immutable state cloning, and network fetch pipelines with instant feedback and rock-solid UI responsiveness.
02.1
Run Pure .js & .mjs Scripts Without HTML Boilerplate
Want to test an async retry helper, regex parser, or state reducer? Create a single `.js` or `.mjs` file and hit Run ▶ — no `<script>` tags, dummy HTML pages, or tiny mobile DevTools drawers required.
Direct .js / .mjs Run · Docked Split-Screen Console
02.2
Modern ES2024 Syntax That Beats Legacy ES5 Apps
Many Play Store JS runners embed decade-old engines that choke on `const`, arrow functions, or `async`. SuperCode runs top-level `await`, async generators (`async function*`), private `#fields`, `BigInt`, `WeakRef`, `structuredClone`, `Object.groupBy`, and `Array.at()` offline.
Async code never exits prematurely before your Promises resolve: the worker tracks active `setTimeout`, `setInterval`, `queueMicrotask`, and `timers/promises` handles, draining the event loop cleanly until work settles.
Running JavaScript on the main UI thread freezes ordinary editors solid on a buggy `while (true) {}`. SuperCode isolates execution on a dedicated background worker so tapping Stop ■ (or hitting the 15s watchdog) kills runaway loops in under 1ms.
Off-UI Worker · <1ms Abort · Zero Editor Stutter
02.5
Standard Fetch API, AbortController & Web Streams
Prototype live API clients using standard `fetch()`, `Headers`, `Request`, `Response`, `AbortController` / `AbortSignal.timeout()`, `URL`, `URLSearchParams`, `TextEncoder`/`TextDecoder`, and `ReadableStream`.
Visualize object arrays cleanly via formatted box-grid `console.table()`, profile hot functions with `console.time()` and sub-millisecond `performance.now()`, and trace thrown errors to exact source lines.
console.table() · performance.now() · 1:1 Line Stack
How to Prototype Async ES2024 Scripts in SuperCode
From quick one-liners to async generator pipelines in a distraction-free split view.
STEP 01script.mjs / app.js
Open Any Standalone JavaScript File
Write ES2024 code directly with the 21-key JS/TS symbol bar (`=>`, `?.`, `??`, `` ` ``, `${}`) and offline AST completion.
STEP 02await / console.table
Use Top-Level await, Timers, or Fetch
Chain Promises, `for await...of` iterators, `structuredClone`, or `fetch()` requests with `AbortController` timeouts.
STEP 03Run ▶ / Stop ■
Execute in Zero-Freeze Worker Isolation
Watch real-time console output stream into the bottom or 55:45 landscape pane — and abort any runaway loop in `<1ms`.
STEP 04Format & Inspect
Benchmark Timing & Auto-Format With 1 Tap
Compare millisecond execution telemetry across runs and tidy nested async callbacks instantly with the built-in JS formatter.
Dedicated Background Worker · 15s CPU Watchdog · Full ES6–ES2024 ComplianceApp Guide
04CAPABILITY MATRIX
SuperCode ES2024 Worker vs. Legacy Mobile JS Apps
SuperCode ES2024 JavaScript Runner executes standalone modern JavaScript on Android inside an isolated background worker without HTML boilerplate. Unlike legacy ES5 mobile apps, it supports top-level await, async generators, Promise.allSettled, BigInt, structuredClone, Fetch with AbortController, console.table(), automatic event-loop draining, and sub-millisecond infinite-loop termination.
STANDALONE JAVASCRIPT RUNTIME COMPARISON ON ANDROID
Runtime Dimension
SuperCode ES2024 Worker
Legacy ES5 Mobile JS Apps
HTML WebView Scratchpads
Online Repl Sandboxes
ECMAScript Standard
Modern ES2024 + Top-Level await Offline
Outdated ES5 / partial ES6
Tied to HTML page lifecycle
Modern (Online only)
Infinite-Loop Safety
Isolated Worker (<1ms Zero-Freeze Kill)
Freezes or crashes entire app
Locks up WebView UI thread
Browser tab hang
Async & Event Loop
Auto-Drains Promises, Microtasks & Timers
No native async/await
Manual DevTools inspection
Supported
Console Diagnostics
ASCII console.table(), Timers & 1:1 Lines
Plain string print only
Hidden `[object Object]`
Network delayed
Boilerplate Required
0 Lines (Run .js / .mjs Directly)
0 Lines
Requires index.html wrapper
Account login wall
Built for Phones, Foldables & Tablets · Lightweight 45 MBGoogle Play
05QUESTIONS & ANSWERS
Frequently Asked Questions
Common questions about ES2024 syntax, top-level `await`, `fetch()`, and infinite-loop protection.
Can I run JavaScript files directly in SuperCode without creating an HTML file?+
Yes! SuperCode has a dedicated standalone JavaScript console engine separate from its HTML5 Web IDE. Just open any `.js`, `.mjs`, or `.cjs` file and tap Run ▶.
How do I use top-level `await` without wrapping code in an `async function main()`?+
Save your file as `.mjs` (or set `"type": "module"` in `package.json`, or simply write top-level `await` in an ES Module script) — SuperCode executes top-level `await` natively and waits for all Promises to settle.
What happens if I accidentally write an infinite `while (true)` loop on my phone?+
Your editor and unsaved files stay 100% responsive because scripts run on an isolated background worker thread. Tap the Stop ■ button (or let the 15-second CPU watchdog trigger) to terminate the worker in under 1 millisecond.
Does `fetch()` work inside standalone JavaScript scripts?+
Yes. Standard `fetch()`, `Headers`, `Request`, `Response`, and `AbortController` are built right into the worker runtime for testing live HTTPS APIs whenever your device has connectivity.
06JAVASCRIPT, NODE CORE & CRYPTO GUIDES
Complete JavaScript & Node IDE Documentation Suite
Explore the main Offline JavaScript IDE hub and all 5 specialized ES2024 & Node.js guides.