Running Javascript in Command Line

How do I run saved Javascript code through Command line script. I am using Atom and Node and have the file saved in my documents as Test.js. This is on windows.

there should be plenty information on the matter, such as here:

just navigate to the right directory and do: node Test.js

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.