node-process-argv-Q&A Flashcards

1
Q

What is the process object in a Node.js program?

A

a global object that can be accessed inside any module without requiring it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you access the process object in a Node.js program?

A

process.. the process variable(object)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the data type of process.argv in Node.js?

A

an array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly