hydroptic to Programmer Humor@lemmy.ml · 21 days ago"☹️".reverse() == "🙂"imagemessage-square29fedilinkarrow-up1226arrow-down114cross-posted to: programmer_humor@programming.dev
arrow-up1212arrow-down1image"☹️".reverse() == "🙂"hydroptic to Programmer Humor@lemmy.ml · 21 days agomessage-square29fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareSkull giver@popplesburger.hilciferous.nllinkfedilinkEnglisharrow-up11·edit-221 days agoThe npm package flip-text is the closest that I know of: const flip = require('flip-text'); const str = "dobo"; const flippedStr = flip(str); console.log(flippedStr); // Output: "qoqo" However, with great libraries like is-thirteen I’m sure JavaScript will some day gain a proper flipping library.
The npm package
flip-text
is the closest that I know of:const flip = require('flip-text'); const str = "dobo"; const flippedStr = flip(str); console.log(flippedStr); // Output: "qoqo"
However, with great libraries like is-thirteen I’m sure JavaScript will some day gain a proper flipping library.