Answers for "function that counts how many times a vowel is used js"

3

how to make a vowel counter in javascript

const vowelCount = str => {
  let vowels = /[aeiou]/gi;
  let result = str.match(vowels);
  let count = result.length;

  console.log(count);
};
Posted by: Guest on April-08-2020

Code answers related to "function that counts how many times a vowel is used js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language