STRINGS
FUNDAMENTALS
Complete the solution so that it reverses the string passed into it.
'world' => 'dlrow'
'word' => 'drow'
const solution = str => str.split('').reverse().join('')
STRINGS
FUNDAMENTALS
Complete the solution so that it reverses the string passed into it.
'world' => 'dlrow'
'word' => 'drow'
const solution = str => str.split('').reverse().join('')