0

let name = readLine(); console.log("welcome,"+name+"!");

Please solve this issue

16th Dec 2022, 8:46 PM
RAMASHISH PAL
RAMASHISH PAL - avatar
2 odpowiedzi
+ 5
prompt() is one way for taking user input in js readLine is from node.js, and here in sololearn it is used for testing some code problems and if run in js envoinment it will produce error. So if this is code problem from course check for spelling, spaces, comas..
16th Dec 2022, 9:03 PM
PanicS
PanicS - avatar
+ 4
Use prompt()
17th Dec 2022, 3:56 PM
NinjaGamer
NinjaGamer - avatar