hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 years ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square22linkfedilinkarrow-up1320arrow-down117cross-posted to: programmerhumor@lemmy.ml
arrow-up1303arrow-down1image"☹️".reverse() == "🙂"sopuli.xyzhydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 years agomessage-square22linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareRonSijm@programming.devlinkfedilinkarrow-up7·2 years agoWhere does it end though? It’s a bit like infinite craft - but instead of combining resources you’d have to find an inverse for every emoji
minus-squareFeathercrown@lemmy.worldlinkfedilinkEnglisharrow-up6·2 years agoasync function reverse(str){ return ChatGPT.ask(`Please reverse the string ${str}. Reply only with the answer, without other words or symbols.`); }
Where does it end though? It’s a bit like infinite craft - but instead of combining resources you’d have to find an inverse for every emoji
async function reverse(str){ return ChatGPT.ask(`Please reverse the string ${str}. Reply only with the answer, without other words or symbols.`); }