DEV Community

loading...

Discussion on: JavaScript Quiz Part 2

Collapse
ycmjason profile image
Jason Yu
reverseStr = ss => [ss].reduce(([...ss]) => ss.reverse().join(''));