Solución
solution.tsTypeScript
export function countWordsEndingWithVowel(words: string[]): number {
// Escribe tu solución aquí
return words.reduce((acc, current) =>
("aeiou")
.includes(current[current.length - 1]
.toLowerCase())
? acc + 1
: acc, 0);
}0respuestas