Skip to content
Advertisement

Tag: readline

readline not pausing for or allowing input

Here is my code: (The console.log()s are just so I can see what code is evaluated and which isn’t) This just returns What do you want me to do?2 over and over again. It also doesn’t let me type anything in to the console. How can I fix this? I’ve looked all over and haven’t found anything. Answer while (true)

Advertisement