File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function vowels(str) {
1313

1414
let count = 0
1515

16-
for(let char of str){
16+
for(let char of str.toLowerCase()){
1717
if(vowelCheck.includes(char)) count++
1818
}
1919

0 commit comments

Comments
 (0)