loading...

re: Daily Challenge #15 - Stop gninnipS My sdroW! VIEW POST

FULL DISCUSSION
 
const spinner = sentence =>
  sentence.split(' ')
    .map(word =>
      word.length > 4 ?
        word.split('').reverse().join('') :
        word
      )
    .join(' ')
Code of Conduct Report abuse