JS Console REPL
Terminal

JS Interactive Terminal v3.0

این یک محیط اجرای زنده کدهای جاوااسکریپت (REPL) با قابلیت خروجی مستقیم DOM است.

- دستور جادویی render('کد HTML') را برای نمایش گرافیکی بنویسید!

- با تایپ help لیست کامل دستورات را ببینید.

guest@mastery:~$
DOM Viewer
`; replSandbox.srcdoc = scriptCode; } catch (err) { printLine(err.toString(), 'error'); } } else if (e.key === 'ArrowUp') { e.preventDefault(); if (historyIndex > 0) { historyIndex--; cmdInput.value = history[historyIndex]; } } else if (e.key === 'ArrowDown') { e.preventDefault(); if (historyIndex < history.length - 1) { historyIndex++; cmdInput.value = history[historyIndex]; } else { historyIndex = history.length; cmdInput.value = ''; } } }); document.getElementById('clearBtn').addEventListener('click', () => { window.clear(); iframe.srcdoc = ''; showToast('کنسول پاک شد 🗑️'); cmdInput.focus(); });