Wejście konsoli JavaScript
const input = prompt("What's your name?"); //optional params
console.log(input);
Mo Saeid
const input = prompt("What's your name?"); //optional params
console.log(input);
const readline = require("readline");
rl.question("What is your name? ", function (answer) {
console.log(`Oh, so your name is ${answer}`);
});