Returns every nth element in an array
everyNth([1, 2, 3, 4, 5, 6], 2); // [ 2, 4, 6 ]
Generated using TypeDoc
Returns every nth element in an array
Example