Count Vowels
Facile · javascript · javascript · strings
Write solution(str) that returns the count of vowels (a, e, i, o, u — case-insensitive) in a string.
Tests d'exemple
solution("hello world") // => 3Facile · javascript · javascript · strings
Write solution(str) that returns the count of vowels (a, e, i, o, u — case-insensitive) in a string.
Tests d'exemple
solution("hello world") // => 3