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

Write a function in Javascript 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") -> "I e u o o o u o u e y i e i a e y o o u "

*image attached is what i have thus far, not sure where to go from here Write a function in Javascript named getVowels, that accepts a string, and

let getVowels = function(str){ 'let vowelList = ""; for (var i = 0; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!