hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 4 months ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square22fedilinkarrow-up1321arrow-down117
arrow-up1304arrow-down1image"☹️".reverse() == "🙂"sopuli.xyzhydroptic@sopuli.xyz to Programmer Humor@programming.dev · 4 months agomessage-square22fedilink
minus-squareFeathercrown@lemmy.worldlinkfedilinkEnglisharrow-up6·edit-24 months agoasync function reverse(str){ return ChatGPT.ask(`Please reverse the string ${str}. Reply only with the answer, without other words or symbols.`); }
async function reverse(str){ return ChatGPT.ask(`Please reverse the string ${str}. Reply only with the answer, without other words or symbols.`); }