select elements of an array starting by a vowel code example
Example: select elements of an array starting by a vowel
let array = ["ananas", "banana", "kiwi"];
array.filter(str => /^[aeiou]/i.test(str));
let array = ["ananas", "banana", "kiwi"];
array.filter(str => /^[aeiou]/i.test(str));