Loading from jsDelivr CDN. This should be fast and reliable.
Have the function VowelCount(text) take the text parameter being passed and return the number of vowels the string contains (a, e, i, o, u). For example: if text is "All cows eat grass" then your program should return 5. The vowels are case insensitive, so both 'A' and 'a' should be counted.
Example 1:
Example 2:
Example 3: