stride(stepSize) {
        return this.filterWithIndex((e, i) => i % stepSize === 0);
    }
Iterates the elements in the subsequence that are at indices congruent to 0 modulo the given step size.
@param stepSize