//Reverse a string using Javascript
const reverseString = (str) => {
return str.split('').reverse().join('');
}
console.log(reverseString("awesome"));
//result will be emosewa
//Reverse a string using Javascript
const reverseString = (str) => {
return str.split('').reverse().join('');
}
console.log(reverseString("awesome"));
//result will be emosewa