Search notes:

SpiderMonkey

SpiderMonkey is Mozilla's implementation of a Javascript engine. It is written in C++. This is in contrast to Rhino which is written in Java.

Installation

On Ubuntu, SpiderMonkey apparently can be installed with
sudo apt install libmozjs-24-0v5 libmozjs-24-bin
On Windows, the shell can be installed with Chocolatey.
choco install -y jsshell

Testing

$ js24
js> var foo=39;
js> var bar=3;
js> foo+bar
42

See also

The SpiderMonkey JavaScript shell
JavaScript::SpiderMonkey is a Perl interface to SpiderMonkey.

Index