Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

Help needed to read command line arguments in Nodejs

Hi, I am trying to accept input from the command line in Nodejs using process.argv in the code snippet, but currently getting an error when I run the following command on the terminal - node index.js "1 18" Error that I get - ...
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: