JSFiddle - React, Tailwind, and code Playground JavaScript console.log( 'test'.split('').reduceRight((c,e)=>{c.push(e);return c},[]).join('') )