javascript like shell script?
is it possible to have javascript (.js) files executed like any other shell or perl script on your system?
if so what would go in the #! clause? |
Are you asking if you can run .js files just like you'd run a c program or something similar?
|
No
|
Javascript is an interpreted lauguage as you probably know so it can only be "executed" within an environment that knows how to interpret it ie. your browser. If you can find an enfvironment to run it outside your browser then yeah, it could.
|
|
Good point, but is anything really that hard to google ? No 'tis not but it's nice to have a focal point.
|
All times are GMT -5. The time now is 10:06 PM. |