MDN wants to learn about developers like you:


JavaScript shell可以让你在不刷新一个网页的情况下测试一段 JavaScript 代码。大部分情况下都是用来测试的。

独立的JavaScript shells

下面的JavaScript shells 是Javascript的独立运行环境,和perl、python一样。


  • Node.js - Node.js is a platform for easily building fast, scalable network applications.
  • JSDB - A standalone JavaScript shell, with compiled binaries for Windows, Mac, and Linux.
  • JavaLikeScript - A standalone, extensible JavaScript shell including both native and JavaScript libraries.
  • GLUEscript - A standalone JavaScript shell for writing cross-platform JavaScript applications.  It can use wxWidgets for GUI apps, and was formerly called wxJavaScript.
  • jspl - A standalone JavaScript shell enhanced by Perl. Can use perl modules directly from JavaScript: DBI for database integration, GTK2 for GUI apps, POSIX for system programming, etc. The best of CPAN now for JavaScript programmers.
  • ShellJS - Portable Unix shell commands for Node.js

JavaScript shells 列表

下面的JavaScript shells使用了Mozilla(?)

  • Firefox从第6版有个内建的JavaScript控制台,叫 Scratchpad
  • JavaScript Shell (js) - A command line interpreter for JavaScript
  • xpcshell is an XPConnect - enabled shell, sometimes useful for Mozilla development.
  • Babel REPL - 以web为基础,主要是实验性的Javascript的REPL
  • - An open-source JavaScript console to test ECMAScript 2015 code inside the browser.
  • -- An open-source JavaScript console with the ability to easily link to particular expressions
  • JavaScript Shell (web page) - also available as part of the Extension Developer's Extension
  • Jash: JavaScript Shell - a DHTML - based shell that gives you command line access to a web page.
  • MozRepl - Connect to Firefox and other Mozilla apps, explore and modify them from the inside, while they're running.
  • Execute JS - (No longer maintained) - Firefox-Extension which provides an enhanced JavaScript-Console, where you can comfortably enter and execute arbitrary JavaScript-Code and modify functions.
  • xqjs - Simple console for Firefox.
  • Firebug - Developer tools for Firefox, including console.


 此页面的贡献者: pelligit, maicss
 最后编辑者: pelligit,