//Write a JavaScript function that accepts a string as a parameter and counts the number of vowels within the string. //Note : As the letter 'y' can be regarded as both a vowel and a consonant, we do ...