We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7caa28f commit 78fd135Copy full SHA for 78fd135
src/number/range.ts
@@ -29,8 +29,5 @@ export function* range<T = number>(
29
const final = end ?? startOrLength
30
for (let i = start; i <= final; i += step) {
31
yield mapper(i)
32
- if (i + step > final) {
33
- break
34
- }
35
}
36
0 commit comments