Examples:
vowels('Hi There!') --> 3
vowels('Why do you ask?') --> 4
vowels('Why?') --> 0
function vowels(str) { let count = 0; const checker = ['a', 'e', 'i', 'o', 'u']; for (let char of str.toLowerCase()) { if (checker.includes(char)) { count++; } } return count; }