NodeJs solicita entrada
let userInput = ask("What is your name?")
//user types: Joe
console.log(userInput) // prints Joe
const prompt = require("prompt-sync")();
function ask(message) {
let input = prompt(message);
return input;
}
SvenVH