Node.js · Junior · Question 49 of 75

What does process.argv contain?

Explanation

User arguments start at process.argv[2]. For parsing flags you can use the built-in util.parseArgs.

Further reading

Problem with a question

Node.js · Junior · question 49

Test yourself

Take the Node.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz