hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 months ago"☹️".reverse() == "🙂"sopuli.xyzexternal-linkmessage-square21fedilinkarrow-up1312arrow-down117
arrow-up1295arrow-down1external-link"☹️".reverse() == "🙂"sopuli.xyzhydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 months agomessage-square21fedilink
minus-squareFeathercrown@lemmy.worldlinkfedilinkEnglisharrow-up6·edit-22 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.`); }