range-class
v1.0.1
Published
JavaScript Range Class Implementation.
Downloads
2
Maintainers
Readme
Range
Quick Start
Install with npm:
$ npm install --save range-class
Use in your script:
import Range from 'range-class';
const range = new Range(1, 10);
constructor
Range's constructor function accepts two parameters, begin
and end
,
and returns a new Range instance.
const range = new Range(1, 100);