Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 | 20x 23x 23x 377x 19x | export const stride = (step: number) => <E>(array: E[]): E[] => { const result = []; for (let i = 0; i < array.length; i += step) { result.push(array[i]); } return result; }; |