Solución
solution.tsTypeScript
export function isPalindrome(text: string): boolean {
// Escribe tu solución aquí
for(let i = 0 ; i < text.length / 2; i++){
console.log({start:text[i]},{end:text[text.length - i -1]})
if(text[i].toLowerCase() !== text[text.length -i - 1].toLowerCase()){
return false
}
}
return true;
}0respuestas