Nuacht

If you're trying to reverse a string using JavaScript, you can either convert it into an array and use the reverse() method or loop through each character.
About Write a JavaScript function that takes a string as an input and returns the reverse of that string.