Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 322 Bytes

(8 kyu) Reversed Words.md

File metadata and controls

12 lines (8 loc) · 322 Bytes

Reversed Words (8 kyu)

https://www.codewars.com/kata/reversed-words

Complete the solution so that it reverses all of the words within the string passed in.

Example:

reverseWords("The greatest victory is that which requires no battle")
// should return "battle no requires which that is victory greatest The"