We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 2: Loops
Day 2: Loops
Sort by
recency
|
754 Discussions
|
Please Login in order to post a comment
function vowelsAndConsonants(s) { let vowels = ["a", "e", "i", "o", "u"]
}
function vowelsAndConsonants(s) { let vowels = ["a", "e", "i", "o", "u"]
}
Did we have to use the for loop? I used map... like this maybe it isn't the best way and advice is great
I kept wondering why the array method forEach( ) does not work.
I'm having a problem with my solution. When I put it to run it doesn't give any response. What am I doing wrong?