DEV Community

Discussion on: Daily Challenge #3 - Vowel Counter

Collapse
 
dimitrilahaye profile image
Dimitri Lahaye
vowels = (str) => (str.match(/[aeiou]/gi) || '').length;

;)