rotaready / moment-range

Fancy date ranges for Moment.js
The Unlicense
1.69k stars 202 forks source link

Documentation typo #283

Open gorskidev opened 4 years ago

gorskidev commented 4 years ago

Line 519, README.md acc = Array.from(range1.byRange(range2, { excludeEnd, true, step: 2 }));

I believe the correct version should be: acc = Array.from(range1.byRange(range2, { excludeEnd: true, step: 2 }));

I do understand that this isn't crucial, but I believe that this will be useful for future users of this great tool.