851
It must be a silent R
(lemmy.world)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
"strawberry".split('').filter(c => c === 'r').length
len([c if c == 'r' for c in "strawberry"])
'strawberry'.match(/r/ig).length
(\r (frequencies "strawberry"))
A zero indexed array doesn't have a different length ;)