node-process-argv Flashcards
1
Q
What is the process object in a Node.js program?
A
an object containing information pertaining to the current Node.js process
2
Q
How do you access the process object in a Node.js program?
A
require(‘process’) OR process
3
Q
What is the data type of process.argv in Node.js?
A
array of strings