Count the vowels
Write countVowels(text) that returns how many of a, e, i, o, u appear, in any case.
Tests
0 of 4 passcountVowels("banana")→3countVowels("SKY")→0countVowels("Education")→5countVowels("")→0
Tutor
The tutor guides you toward the answer instead of handing it over. It uses your own Claude usage.
Nothing printed. Use console.log to inspect values.