re: Daily Challenge #3 - Vowel Counter VIEW POST

TOP OF THREAD FULL DISCUSSION
re: const vowelString = 'whatever vowel string'; const count = [...(vowelString.toLowerCase())].map((letter) => [...'aeiou'].includes(letter) ? 1 :...
 

Hi, i loved this solution. Took me a bit to get my head around the use of reduce here and it's awesome. Thanks. I learned something nice today.

code of conduct - report abuse