Solución
solution.tsTypeScript
export function isLeapYear(year: number): boolean {
// Escribe tu solución aquí
return year % 400 == 0 || (year % 4 == 0 && !(year % 100 == 0));
}0respuestas
export function isLeapYear(year: number): boolean {
// Escribe tu solución aquí
return year % 400 == 0 || (year % 4 == 0 && !(year % 100 == 0));
}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.