- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
14 lines
350 B
JavaScript
14 lines
350 B
JavaScript
export default function range(start, stop, step) {
|
|
start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;
|
|
|
|
var i = -1,
|
|
n = Math.max(0, Math.ceil((stop - start) / step)) | 0,
|
|
range = new Array(n);
|
|
|
|
while (++i < n) {
|
|
range[i] = start + i * step;
|
|
}
|
|
|
|
return range;
|
|
}
|