Answers for "4.8. Input with readline-sync¶"

0

4.8. Input with 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: ");
Posted by: Guest on June-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language