Skip to content

Commit

Permalink
[ADD] readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
niyazm524 committed May 20, 2021
1 parent 969f234 commit 9950ca7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions iterator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Реализация итератора на TypeScript (Frontend)

**У итератора есть опция пропускать маленькие города**

```javascript
const iteratorWithNoSkip = new CityIterator(citiesList, false);

const iteratorWithSkip = new CityIterator(citiesList, true);
```
### Шаги для инициализации
- Перейти в папку `iterator`
- Установить dev-зависимости `npm install`

### Проверка в браузере
- Выполнить npm start

### Запуск тестов
- Выполнить npm test

0 comments on commit 9950ca7

Please sign in to comment.