ran npm run tdd & generated TDD
This commit is contained in:
1
test/everyNth/everyNth.js
Normal file
1
test/everyNth/everyNth.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = (arr, nth) => arr.filter((e, i) => i % nth === nth - 1);
|
||||
Reference in New Issue
Block a user