| Total Complexity | 2 |
| Complexity/F | 2 |
| Lines of Code | 8 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | export const range = function* (start, end, step = 1) { |
||
| 2 | let i = start; |
||
| 3 | |||
| 4 | while (i <= end) { |
||
| 5 | yield i; |
||
| 6 | i += step; |
||
| 7 | } |
||
| 8 | }; |
||
| 9 |