DEV Community

Discussion on: Reversing a string using Object.keys() and .reduce?

Collapse
 
diek profile image
diek

You can reverse sort the first split code you tried, too.

Collapse
 
bugmagnet profile image
Bruce Axtens • Edited

I could but then you'd miss out on the unicorns, love hearts and bookmarks. As enslaved as I am to the praise of my peers ...