const reverseString = (str) => { return str.split('').reduce((acc, currItem)=> currItem + acc, '');//acc is accumulator }; reverseString('hello world!'); // => !dlrow olleh