Answers for "how to get the command line argument in javascript"

5

nodejs command line arguments

var myArgs = process.argv.slice(2);
console.log('myArgs: ', myArgs);
Posted by: Guest on July-12-2021

Code answers related to "how to get the command line argument in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language