hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 years ago"☹️".reverse() == "🙂"message-squaremessage-square19fedilinkarrow-up1319arrow-down117
arrow-up1302arrow-down1message-square"☹️".reverse() == "🙂"hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 years agomessage-square19fedilink
minus-squarepetey@aussie.zonelinkfedilinkarrow-up27·2 years agoI’m tempted to publish an NPM package to do so as a joke, but I fear that it’d get used seriously
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·edit-22 years agoasync function reverse(str){ return ChatGPT.ask(`Please reverse the string ${str}. Reply only with the answer, without other words or symbols.`); }
deleted by creator
I’m tempted to publish an NPM package to do so as a joke, but I fear that it’d get used seriously
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.`); }Lua could possibly do this