+ 1
Please suggest some improvements in code
2 Answers
+ 2
Don't repeat the question
https://www.sololearn.com/Discuss/3202534/?ref=app
+ 1
document.write(prompt("Enter string:").split("").reverse().join(""))
replace all JavaScript and use this one-liner