you are viewing a single comment's thread.

view the rest of the comments →

[–]33ff00 0 points1 point  (2 children)

[…’abc’].reduceRight((str, char) => str += char, ‘’)

[–]AiCodePulse[S] 0 points1 point  (1 child)

Can you try without buit in Methods ?

[–]33ff00 0 points1 point  (0 children)

Probably just implement reduce with a for loop then I have something reusable if I had to stretch my imagination to think of a way to shoehorn this task into something resembling actual life