JSPM

@extra-array/range.min

2.2.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q82346F
  • License MIT

Returns evenly spaced values within given interval.

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

Returns evenly spaced values within given interval.

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.

array.range(v, V, [stp]);
// v:   start of interval
// V:   end of interval (excluding)
// stp: spacing between values (1)
const array = require('extra-array');

array.range(0, 5);
// [0, 1, 2, 3, 4]

array.range(0, 5, 2);
// [0, 2, 4]

array.range(0, -5, -2);
// [0, -2, -4]

references