New course! Every coder should learn Generative AI!
Try a free lesson0
Help
var month = readLine() What is -> redLine()?
4 Answers
+ 2
readLine() : gets an input from the user.
Happy coding!
+ 2
There is no readLine() function in js or node js . It's probably a custom function that sololearn uses to take input from user . But there is readline module in node js that is used to take user input.
https://nodejs.org/api/readline.html
+ 2
Abhay
Oh, did I mix with console.log and readLine()? It seemd it exist. I must learn more thing about it. Thanks buddy!
+ 1
mesarthim i believe there is nothing like that in js !