JSFiddle - React, Tailwind, and code Playground JavaScript 1//2;x=input();print(x+x[::-1][1:]);""" x=prompt();alert(x.slice(0,-x.length/2))//"""