Post History
JavaScript, 76 bytes Outputs an array of lines. s=>[...s+=[...s].reverse().join``].map((c,x)=>s[-~x]?c.padEnd(x)+(x?c:``):s) Try it online!
Answer
#1: Initial revision
# JavaScript, 76 bytes Outputs an array of lines. <!-- language-all: lang-javascript --> s=>[...s+=[...s].reverse().join``].map((c,x)=>s[-~x]?c.padEnd(x)+(x?c:``):s) [Try it online!](https://tio.run/##LcxBCoMwEADAv3jaxboPEKKnQv9gAwnJWpQ0G1yRnPr1FEpPc5vdX17DsZVzyBK5raapmRYi0t78sHTwxYcyIO2yZecsvX0BCLeKZtJl@FQ7Byo@3nOEij3UOYzO4ajYgmSVxJTkBSt0D05Jun/0zA7bFw "JavaScript (Node.js) – Try It Online")