1//Node.js readline
2const readline = require('readline');
3
4const rl = readline.createInterface({
5 input: process.stdin,
6 output: process.stdout
7});
8
9rl.question('What do you think of Node.js? ', (answer) => {
10 console.log(`Thank you for your valuable feedback: ${answer}`);
11 rl.close();
12});