Reversed Strings

Instructions: Complete the solution so that it reverses the string passed into it. 'world' => 'dlrow' 'word' => 'drow' Thoughts: I converted the string into an array to utilize the reverse() function for reversing its contents. Then, I rejoined the array back into a string. This is a CodeWars Challenge of 8kyu Rank (https://www.codewars.com/kata/5168bb5dfe9a00b126000018)

Mar 19, 2025 - 22:29
 0
Reversed Strings

Instructions:
Complete the solution so that it reverses the string passed into it.

'world' => 'dlrow'
'word' => 'drow'

Image description
Thoughts:
I converted the string into an array to utilize the reverse() function for reversing its contents. Then, I rejoined the array back into a string.

Test

This is a CodeWars Challenge of 8kyu Rank (https://www.codewars.com/kata/5168bb5dfe9a00b126000018)