Generates array from given number range.
npm install @extra-array/from-range.minGenerates array from given number range.
:package:
:smiley_cat:
:running:
:vhs:
:moon:
:scroll:
:newspaper:
:blue_book:
> Alternatives: [from], [from$], [fromRange], [fromApply].
> This is part of package [extra-array].
[extra-array]: https://www.npmjs.com/package/extra-array
> This is browserified, minified version of [@extra-array/from-range].
> It is exported as global variable array_fromRange.
> CDN: [unpkg], [jsDelivr].
[@extra-array/from-range]: https://www.npmjs.com/package/@extra-array/from-range
[unpkg]: https://unpkg.com/@extra-array/from-range.min
[jsDelivr]: https://cdn.jsdelivr.net/npm/@extra-array/from-range.min
``javascript`
array.fromRange(v, [V], [s]);
// v: start number
// V: end number, excluding (v)
// s: step size (1)
`javascript
const array = require("extra-array");
array.fromRange(0, 4);
// [ 0, 1, 2, 3 ]
array.fromRange(0, 8, 2);
// [ 0, 2, 4, 6 ]
``
[from]: https://github.com/nodef/extra-array/wiki/from
[fromRange]: https://github.com/nodef/extra-array/wiki/fromRange
[fromApply]: https://github.com/nodef/extra-array/wiki/fromApply
[from$]: https://github.com/nodef/extra-array/wiki/from$