+ 3
Why readLine doesn't work in Node.js SoloLearn?
9 Antworten
+ 5
Vasiliy but there is no such thing as readLine function .
Maybe sololearn only provides us with readLine function that hides it's actual implementation and is invoked on server side .
There is readline module though,
https://www.google.com/url?sa=t&source=web&rct=j&url=https://nodejs.org/api/readline.html&ved=2ahUKEwjF_sDX7M_yAhV8umMGHajmBrcQFnoECAQQAQ&usg=AOvVaw1kx1u0u8EqUN9WwYIxiNH7&cshid=1630020816624
+ 4
Vasiliy
This was the one I liked most
https://code.sololearn.com/cI8EV15fL6g1/?ref=app
+ 3
Excellent question!
I have also been struggling with the differences that Node has when run on Sololearn
+ 3
Abhay javascript jobs use node.js programs that use the readLine() input function and it doesn't fire when node.js is used outside of the job tester.
I hope now you understand what kind of readLine we are talking about, or do you know any other readLine?
+ 3
Rik Wittkopp and what is the result, did you manage to clarify something?
Maybe there is another way to enter data?
+ 3
Abhay here is what I was able to do from the information received from your link.
There is a lot more there, but need to figure it out.
Thank you very much for the information provided. ☺️
https://code.sololearn.com/c982MGR7n699/?ref=app
+ 3
Rik Wittkopp thanks for sharing the Vinay_GB code, it looks more concise. ☺️
+ 1
Which readLine?
+ 1
I found a long and complicated way, which I don't like or understand.
Let me see if I can find and post to you