Package Exports
- @extra-array/range.min
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@extra-array/range.min) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Return evenly spaced values within a given interval, like arange().
This is part of package extra-array.
This is browserified, minified version of @extra-array/range.
It is exported as global variable array_range.
CDN: unpkg, jsDelivr.
const arange = require('@extra-array/arange');
// arange(<start>, <stop>, [step=1], [target=[]], [at])
// -> <target>
arange(0, 3);
// [0, 1, 2]
arange(0, -4, -2);
// [0, -2]
arange(0, -4, -2, [10, 11]);
// [10, 11, 0, -2]
arange(0, -4, -2, [10, 11], 1);
// [10, 0, -2]With extra-array try
Array.arange()instead.
