megclaypool
2/27/2019 - 6:59 AM

How to Run JavaScript in the Mac OS Terminal!

[How to Run JavaScript in the Mac OS Terminal!]

If you want to run a script without having to load it into a website on your local, you can use node to run the script!

node path_to_script/my_script.js

Easy peasy!!!