Answers for "asking questions javascript in console"

0

asking questions javascript in console

var readline = require('readline');

var rl = readline.createInterface({
  input: process.stdin,
  output: process.stdout
});

rl.question("What do you think of node.js? ", function(answer) {
  console.log("Thank you for your valuable feedback:", answer);

  rl.close();
});
Posted by: Guest on December-26-2020

Code answers related to "asking questions javascript in console"

Code answers related to "Javascript"

Browse Popular Code Answers by Language