- 1
How can you reverse a string?
2 Respostas
+ 2
function ReverseString(str) {
return str.split('').reverse().join('')
}
console.log(ReverseString("Hello"))
https://code.sololearn.com/W499ACoZQvrQ/?ref=app
0
https://www.freecodecamp.org/news/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb/amp/