(s, o, i)
| 1851 | if (!s) throw new Error(o) |
| 1852 | } |
| 1853 | function Range(s, o, i) { |
| 1854 | if (!(this instanceof Range)) return new Range(s, o, i) |
| 1855 | if ( |
| 1856 | (invariant(0 !== i, 'Cannot step a Range by 0'), |
| 1857 | (s = s || 0), |
| 1858 | void 0 === o && (o = 1 / 0), |
| 1859 | (i = void 0 === i ? 1 : Math.abs(i)), |
| 1860 | o < s && (i = -i), |
| 1861 | (this._start = s), |
| 1862 | (this._end = o), |
| 1863 | (this._step = i), |
| 1864 | (this.size = Math.max(0, Math.ceil((o - s) / i - 1) + 1)), |
| 1865 | 0 === this.size) |
| 1866 | ) { |
| 1867 | if (ae) return ae |
| 1868 | ae = this |
| 1869 | } |
| 1870 | } |
| 1871 | function Collection() { |
| 1872 | throw TypeError('Abstract') |
| 1873 | } |
no test coverage detected