+ 6
Hi, In Web code works, but in node. js it doesn't work?It's appears NaN. What I have to do?
https://code.sololearn.com/WGz56yk8YLBt/?ref=app https://code.sololearn.com/cZMQhT3z3vqp/?ref=app
4 Answers
+ 6
But in node. js there is.
+ 6
It is appear NaN in node. js
0
There is no readLine function in javascript .
You need to call main function as well.
i believe sololearn code coaches for node js are programmed differently to help them with processing user input.
0
Egor Tonchev(EGO) i only know of this readline module.
https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.geeksforgeeks.org/node-js-readline-module/amp/&ved=2ahUKEwj8xrObl9_uAhWL6nMBHWXJBP8QFjABegQIAhAB&usg=AOvVaw24r98Do_GkeOvbR7jpw6gq&cf=1&cshid=1612955435892
But for sure the readLine function will still work here on sololearn as i said i believe they use it to process user inputs in a different way , just not idea what they do exactly.