DEV Community

[Comment from a deleted post]
Collapse
 
thomasjunkos profile image
Thomas Junkツ • Edited

And there is

str.split('').reduceRight((o,n)=>o+n)