Solución
solution.tsTypeScript
export function endsWithSuffix(str: string, suffix: string): boolean {
if(str.endsWith(suffix)) {
return true;
}
return false;
}0respuestas
export function endsWithSuffix(str: string, suffix: string): boolean {
if(str.endsWith(suffix)) {
return true;
}
return false;
}Aún no hay respuestas
¡Sé el primero en responder!
Recuerda ser amable. Estás comentando la solución de otra persona. Comparte tu perspectiva de forma constructiva y respetuosa.