Open KodeSage opened 3 years ago
const prompt = require('prompt-sync')({sigint: true});
let me = prompt('Name :'); console.log(me);
Expected output Name : [input]
But it just gets stuck and hangs (have a glitch) at Name : and not accepting any input
Any Solution to this?
I am using Code Runner( an Extension to Log Native Js code out in the console);
I Have Been trying to run a simple program
const prompt = require('prompt-sync')({sigint: true});
let me = prompt('Name :'); console.log(me);
Expected output Name : [input]
But it just gets stuck and hangs (have a glitch) at Name : and not accepting any input
Any Solution to this?