range-iterable
Requirements
- Node >= 6.0.0
Features
- Python-like
range
class for JavaScript
Usage
Import
var Range = ; // `Range` is a constructor, always takes 2 argumentsvar range = Range; // `range` is a function, takes 1 or 2 arguments
Basic usages
var x0 = ...3 7;var x1 = ...;var x2 = ...;var x3 = ...;console;
Extra methods
var x0 = ...;var x1 = ...;var x2 = ...;var x3 = ...;console;