- 1

Some Function not working in js .

In my sololearn, promt() & alert() function is not working . What should i do ?

22nd Sep 2022, 4:58 AM
Abhay mishra
Abhay mishra - avatar
3 Réponses
+ 3
Abhay mishra You are using Node JS and prompt() and alert() are not a function of Node JS Remember Node JS and JS are little different
22nd Sep 2022, 7:00 AM
A͢J
A͢J - avatar
+ 1
Abhay mishra Use readLines() function to get user input Use console.log to print
22nd Sep 2022, 3:38 PM
A͢J
A͢J - avatar
0
Thanks A͢J { Challenge Accepted } But what should i do now ?
22nd Sep 2022, 3:21 PM
Abhay mishra
Abhay mishra - avatar