/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// run with node myFile.js arg1 arg2 process.argv[2]; // will be 'arg1' process.argv[3]; // will be 'arg2'