0
let name = readLine(); console.log("welcome,"+name+"!");
Please solve this issue
2 Answers
+ 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..
+ 4
Use prompt()