4 ms·
you fail to understand that javascript was meant to run inside a browser. inside any html page just add script tags and execute your script. you don't need a we
by pewpew 15y ago
you fail to understand that javascript was meant to run inside a browser. inside any html page just add script tags and execute your script. you don't need a webserver to run javascript.
- ColinWright 15y agoActually, I do know that JavaScript was originally meant to run in a browser. I also know it can be run "server side," or even just used as a general programming language. My mentioning of the web server was similar to my mentioning of Ubuntu, to try to ensure that the reader knows I'm not a complete computing dweeb. I also know that one can just embed code between <script> tags, and I know that one can reference code in files elsewhere. But that's inefficient for actual learning. I was asking for a more effective setup without having to download, compile and install huge numbers of extras.
- J3L2404 15y agoSee my answer above.
- ColinWright 15y agoI've now installed rhino which gives me the js command. Now I'm running in a minimal setup, so I've started. Thx.
- deleted 15y ago[deleted]