## page was renamed from SpiderMonkey = SpiderMonkey = SpiderMonkey is Mozilla's [[Javascript]] engine written in C/C++. It is used in various Mozilla products, including Firefox, and is available under the MPL2. == Example code == {{{#!highlight javascript #!/usr/bin/js function CTest(){ this.counter=0; } CTest.prototype.increment=function(){ this.counter++; }; CTest.prototype.show=function(){ putstr(this.counter); putstr("\r\n"); }; var c = new CTest(); var d = new CTest(); c.increment(); c.increment(); c.increment(); c.show(); d.increment(); d.increment(); d.show(); }}} Run it with: * chmod 755 test.js * ./test.js SpiderMonkey is installed on Slackware 14. == Windows binary == * https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/jsshell-win64.zip