(year)
| 15477 | // HELPERS |
| 15478 | |
| 15479 | function daysInYear(year) { |
| 15480 | return isLeapYear(year) ? 366 : 365; |
| 15481 | } |
| 15482 | |
| 15483 | function isLeapYear(year) { |
| 15484 | return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; |
no test coverage detected