Schal330@lemmy.world to Programmer Humor@programming.dev · 2 months agoIt must be a silent Rlemmy.worldimagemessage-square124fedilinkarrow-up1867arrow-down132
arrow-up1835arrow-down1imageIt must be a silent Rlemmy.worldSchal330@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square124fedilink
minus-squarecypherix93@lemmy.worldlinkfedilinkEnglisharrow-up11·2 months ago"strawberry".split('').filter(c => c === 'r').length
minus-squareTiefling IRL@lemmy.blahaj.zonelinkfedilinkarrow-up6·2 months ago'strawberry'.match(/r/ig).length
minus-squareanti-idpol action@programming.devlinkfedilinkarrow-up2·2 months ago(\r (frequencies “strawberry”))
minus-squareAwkwardLookMonkeyPuppet@lemmy.worldlinkfedilinkEnglisharrow-up1arrow-down1·2 months agodeleted by creator
minus-squareSluyter548@lemmy.worldlinkfedilinkarrow-up1·2 months agoA zero indexed array doesn’t have a different length ;)
"strawberry".split('').filter(c => c === 'r').length
'strawberry'.match(/r/ig).length
(\r (frequencies “strawberry”))
deleted by creator
A zero indexed array doesn’t have a different length ;)