How to Run a JavaScript File with Node.js
Node.js runs JavaScript outside a browser, and the node command runs a file of it. Anything you type after the file's name reaches the program as an argument, which is how small scripts take input from the terminal.
