node process arg Flashcards
1
Q
What is the process object in a Node.js program?
A
global accessible object that contains information about node process
2
Q
How do you access the process object in a Node.js program?
A
process object
3
Q
What is the data type of process.argv in Node.js?
A
Return Value: This property returns an array containing the arguments passed to the process when run it in the command line