Solución
solution.tsTypeScript
export function countWordsEndingWithVowel(words: string[]): number {
// Para los que lean esto vocal al final, insensible a mayúsculas
const vowelsRegex = /[aeiou]$/i;
let count = 0;
for (const word of words) {
if (vowelsRegex.test(word)) count++;
}
return count;
}0respuestas