1 line
76 B
JavaScript
1 line
76 B
JavaScript
module.exports = countVowels = str => (str.match(/[aeiou]/gi) || []).length; |
module.exports = countVowels = str => (str.match(/[aeiou]/gi) || []).length; |