re: Daily Challenge #3 - Vowel Counter VIEW POST

FULL DISCUSSION
 

Why not so simple as this (JS)...

const vowelsCounter = str => [...str].filter(l => 'aeiouAEIOU'.includes(l)).length;
code of conduct - report abuse