Write a function removeVowelKeys, that takes an array of strings keys and returns an array of keys that does not start with a vowel (aeiouy). The letter case does not matter.
Example :
removeVowelKeys(['alarm', 'chip', 'isValid', 'Advice', 'onClick']); // ['chip']
Here is my attmpt this is the max i could get out of it :
function removeVowelKeys(keys) {
let result = [];
for (let i=0;i<=keys.length;i++){
if (keys[i][0]!= 'a'||keys[i][0]!= 'e'||keys[i][0]!= 'i'||keys[i][0]!= 'o'||keys[i][0]!= 'u'||keys[i][0]!= 'y'){
result.push(keys[i])
}
}
return result;
}