--- title: Day of the week id: 5966f99c45e8976909a85575 challengeType: 5 videoUrl: '' localeTitle: День недели --- ## Description

Компания решает, что всякий раз, когда Xmas падает на воскресенье, они отдают своим работникам все дополнительные оплачиваемые отпуска, так что вместе с любыми праздничными днями работникам не придется работать на следующей неделе (с 25 декабря по 1 января).

Задача:

Напишите функцию, которая запускает год начала и конец года и возвращает массив всех лет, в которые 25 декабря будет воскресенье.

## Instructions
## Tests
```yml tests: - text: findXmasSunday - это функция. testString: 'assert(typeof findXmasSunday === "function", "findXmasSunday is a function.");' - text: 'findChristmasSunday(2000, 2100) должен возвращать массив.' testString: 'assert(typeof findXmasSunday(2000, 2100) === "object", "findChristmasSunday(2000, 2100) should return an array.");' - text: 'findChristmasSunday(2008, 2121 должен вернуться [1977, 1983, 1988, 1994, 2005, 2011, 2016]' testString: 'assert.deepEqual(findXmasSunday(1970, 2017), firstSolution, "findChristmasSunday(2008, 2121 should return [1977, 1983, 1988, 1994, 2005, 2011, 2016]");' - text: 'findChristmasSunday(2008, 2121 должны вернуться [2011, 2016, 2022, 2033, 2039, 2044, 2050, 2061, 2067, 2072, 2078, 2089, 2095, 2101, 2107, 2112, 2118]' testString: 'assert.deepEqual(findXmasSunday(2008, 2121), secondSolution, "findChristmasSunday(2008, 2121 should return [2011, 2016, 2022, 2033, 2039, 2044, 2050, 2061, 2067, 2072, 2078, 2089, 2095, 2101, 2107, 2112, 2118]");' ```
## Challenge Seed
```js function findXmasSunday (start, end) { // Good luck! return true; } ```
### After Test
```js console.info('after the test'); ```
## Solution
```js // solution required ```