Ask coding questions

← Back to all posts
Is Readline Broken on Replit?
h
Vandesm14 (2644)

I have pulled the demo js from https://nodejs.org/api/readline.html, and pasted it into a repl: https://repl.it/@Vandesm14/Readline-Testing;

Instead of the expected output, the text is garbled, the console returns for some reason, and input is impossible (if returns error).

https://storage.googleapis.com/replit/images/1542638436314_4c42468cc2e794a429274b81b8bfac41.pn