А
Size: a a a
Э
Э
answer = STDIN.gets("What is your name?")
const readline = require('readline');
function askQuestion(query) {
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
});
return new Promise(resolve => rl.question(query, ans => {
rl.close();
resolve(ans);
}))
}
const ans = await askQuestion("Are you sure you want to deploy to PRODUCTION? ");
N
answer = STDIN.gets("What is your name?")
const readline = require('readline');
function askQuestion(query) {
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
});
return new Promise(resolve => rl.question(query, ans => {
rl.close();
resolve(ans);
}))
}
const ans = await askQuestion("Are you sure you want to deploy to PRODUCTION? ");