hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 8 months ago"☹️".reverse() == "🙂"sopuli.xyzexternal-linkmessage-square22linkfedilinkarrow-up1320arrow-down117cross-posted to: programmerhumor@lemmy.ml
arrow-up1303arrow-down1external-link"☹️".reverse() == "🙂"sopuli.xyzhydroptic@sopuli.xyz to Programmer Humor@programming.dev · 8 months agomessage-square22linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareFeathercrown@lemmy.worldlinkfedilinkEnglisharrow-up6·edit-28 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.`); }