0 votes
in NodeJS Essentials by

Which of the following is used to read user input from the command line in Node.js?

A) console.log()

B) console.read()

C) process.stdin

D) process.stdout

1 Answer

0 votes
by
Answer: C

Explanation: process.stdin is used to read user input from the command line in Node.js.
...