Capgemini interview question

How do you run a JavaScript script in the terminal?

Interview Answer

Anonymous

Feb 6, 2019

Simply execute the node command in the terminal, passing to it the desired script or program file name.