Fix test cases

This commit is contained in:
Stefan Feješ
2017-12-17 22:26:07 +01:00
parent e87678f359
commit 82b850fd00
20 changed files with 21 additions and 21 deletions

View File

@ -6,5 +6,5 @@ Use `Array.filter()` to create a new array that contains every nth element of a
```js
const everyNth = (arr, nth) => arr.filter((e, i) => i % nth === 0);
// everynth([1,2,3,4,5,6], 2) -> [ 1, 3, 5 ]
// everyNth([1,2,3,4,5,6], 2) -> [ 1, 3, 5 ]
```