1.0.1 • Published 8 years ago
range-class v1.0.1
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);