4.8. Masukan dengan readline-sync

/*Gathering input from the user requires the following setup:*/

const input = require('readline-sync');

let info = input.question("Question text... ");

// example // 
const input = require('readline-sync');

let name = input.question("Enter your name: ");
Tough Tortoise