reverse string in the javascript
<script>
function reverseString(str) {
var str = str.split("");
var str = str.reverse(str);
var str = str.join("");
return str;
}
document.write(reverseString("hello"));
</script>
reverse string in the javascript
<script>
function reverseString(str) {
var str = str.split("");
var str = str.reverse(str);
var str = str.join("");
return str;
}
document.write(reverseString("hello"));
</script>
0Comments
Thanks you for commenting your questions. I will see question and respond you.