Read console.log entry in javascript

0

I am trying to capture the data entry through console.log without using node js. But jump the readline error is not defined. Some other method or where I have the error, I wanted to ask before asking but everywhere they use node I think that for something so simple maybe nodeJs is not necessary.

console.log("what's your name!");
var input = readline();
console.log("Hi ! "+input);
    
asked by ellipsys 10.09.2018 в 14:45
source

0 answers