Question: JavaScript H) Write a function named getVowels, that accepts a string, and returns a list of vowels present in the string. Use a for loop,

H) Write a function named getVowels, that accepts a string, and returns a list of vowels present in the string. Use a for loop, and your function must call isVowel. What the function should return: getvowels ("If the Sun & Moon should Doubt They'd immediately Go out") -> "Ieuooouou eyi ei ae yoou
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
