leafiy
5/18/2018 - 6:53 PM

reverse string #js #es6

none

const reverseString = str => [...str].reverse().join('');
// reverseString('foobar') -> 'raboof'