News for hackers. Stuff that matters.
Re:Wat by hchinchilla on Thursday January 26, 2012 @06:52PM (#3516537)
Thanks, I'll look how to get this working on linux.
Re:Wat by mbq on Thursday January 26, 2012 @07:20PM (#3516635)
At least Arch has `js`package which gives you js command to obtain JS shell; in fact it is just Mozilla's SpiderMonkey. Anyway, the best option for "standalone JS" is node, mainly because it has a sane way of importing code from other files.
Re:Wat by gpmcadam on Thursday January 26, 2012 @07:00PM (#3516562)
Alternatively, you could use Rhino Shell (https://developer.mozilla.org/en/Rhino_Shell) - it even supports tab completion!
Re:Wat by betterth on Thursday January 26, 2012 @08:56PM (#3516869)
My Chrome install on Windows has the same thing. I push ctrl+shift+c to load the developer tools, and click on console and it's a very similar tool to what he was using.