Solución
solution.tsTypeScript
function vowelsAtEvenIndices(text: string): number {
// Escribe tu solución aqui
return text.split('').filter((chr, index) => index % 2 === 0 && chr.match(/^[aeiou]/i)).length
}
// No modificar: necesario para evaluar el resultado.
export { vowelsAtEvenIndices };0respuestas