About Introduction to the JavaScript Shell - SpiderMonkey
Introduction to the JavaScript Shell - SpiderMonkey- The JavaScript shell (js) is a command-line program included in the SpiderMonkey source distribution. It is the JavaScript equivalent of Python's interactive prompt, the Lisp read-eval-print loop, or Ruby's irb. The article explains how to use the shell to experiment with JavaScript code and run JavaScript programs.