Reading Console Input using Node.js
vedprad1 (906)

Reading Console Input using Node.js

Is it possible to take in Console Input using Node.js? My way is not working.
The Repl

You are viewing a single comment. View All
Answered by Pythonier (315) [earned 5 cycles]
View Answer
DCha0tiC (0)

I know it's an old thread, but maybe you can use :

let answerText = prompt("Your question goes here");
let answerBool = confirm("Yes/No question goes here);"

It works nice with Repl console.

Source: W3Schools Js Popups