Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to make a vowel counter in javascript

function countVowels(str) {
  return str.match(/[aeiou]/g).length;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vowel #counter #javascript
ADD COMMENT
Topic
Name
2+7 =