wordArr = ['a', 'g', 'e', 'f'];
wordArr = wordArr.filter(function(l){
return l !== 'a' || l!== 'e'|| l!== 'i'|| l!== 'o' || l!== 'u';
});
My result: my wordArr doesnt change
Desire output: ['g', f'];
it only works with one condition, if i only check for one vowel. How do i make this work for multiple conditions?
thank you in advanced.