Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 455 Bytes

reversed-strings.md

File metadata and controls

22 lines (16 loc) · 455 Bytes

Reversed Strings 8 Kyu

LINK TO THE KATA - STRINGS FUNDAMENTALS

Description

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

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

Solution

const solution = str => str.split('').reverse().join('')