JavaScript function that counts the number of vowels within the string.

preview_player
Показать описание
what to note
Note : As the letter 'y' can be regarded as both a vowel and a consonant, we do not count 'y' as vowel
here.
Example string : 'The quick brown fox'
Expected Output : 5
Рекомендации по теме