Travis build: 391
This commit is contained in:
@ -9,5 +9,5 @@ const everyNth = (arr, nth) => arr.filter((e, i) => i % nth === nth - 1);
|
||||
```
|
||||
|
||||
```js
|
||||
everyNth([1,2,3,4,5,6], 2) // [ 2, 4, 6 ]
|
||||
everyNth([1, 2, 3, 4, 5, 6], 2); // [ 2, 4, 6 ]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user